- Documentation
- Server functions
- setNearClipDistance
Function
setNearClipDistance
Stores the camera near clip distance: things closer to the camera than this are not drawn (0.1-20 m, 0.3 by default).
Syntax
bool setNearClipDistance(float distance)Arguments
distancefloat- Distance in metres.
Returns
true on success.
Example
setNearClipDistance(0.5)
Notes
State for scripts. The game camera does not change.