lovr.headset.setLayers
EditSets the list of active Layer
objects. These are the layers that will be rendered in the headset's display. They are rendered in order.
Arguments
Name | Type | Description |
...layers | Layer | Zero or more layers to render in the headset. |
Returns
Nothing
Arguments
Name | Type | Description |
t | table | A table with zero or more layers starting at index 1. |
Returns
Nothing
Notes
Currently some VR systems are able to sort the layers by their Z depth, but on others layers later in the list will render on top of previous layers, regardless of depth.
There is currently a maximum of 10 layers.