aframe Scene Attaching Scene Components


Example

Components can be attached to the scene as well as entities. A-Frame ships with a few components to configure the scene:

ComponentDetails
embeddedRemove fullscreen styles from the canvas.
fogAdd fog.
keyboard-shortcutsToggle keyboard shortcuts.
inspectorInject the A-Frame Inspector.
statsToggle performance stats.
vr-mode-uiToggle UI for entering and exiting VR.
debugEnables component-to-DOM serialization.