lovr.headset.getLayers
EditReturns the list of active Layer
objects. These are the layers that will be rendered in the headset's display. They are rendered in order.
layers = lovr.headset.getLayers()
Arguments
None
Returns
Name | Type | Description |
layers | table | The list of layers. |
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.