lovr.headset.getClipDistance

Returns the near and far clipping planes used to render to the headset. Objects closer than the near clipping plane or further than the far clipping plane will be clipped out of view.

near, far = lovr.headset.getClipDistance()

Arguments

None

Returns

NameTypeDescription
nearnumberThe distance to the near clipping plane, in meters.
farnumberThe distance to the far clipping plane, in meters.

Notes

The default near and far clipping planes are 0.1 meters and 100.0 meters.

This is not currently supported by the vrapi headset driver.

See also