docs/components/layer.md
The layer component renders images, videos or cubemaps into a WebXR compositor layer on supported browsers.
The benefits of layers are:
<a-scene>
<a-assets>
</a-assets>
<a-entity layer="type: quad; src: #comicbook" position="0 1.8 -1.5"></a-entity>
</a-scene>
| Properties | Description |
|---|---|
| type | quad, monocubemap or stereocubemap |
| src | Image or video loaded in the layer. |
| rotateCubemap | Rotates the cubemap 180 degrees in the y-axis. |