lovr.headset.setClipDistance

Sets 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.

lovr.headset.setClipDistance(near, far)

Arguments

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

Returns

Nothing

See also