A-Frame中文教程

stats

The stats component displays a UI with performance-related metrics. The stats component applies only to the <a-scene>element.

Example

            
< a-scene stats> </ a-scene>

Metrics

Toggling UI

Click or tap on the headings to collapse groups of metrics. If you tap “Framerate”, then fpsand rafwill collapse.