near property

double near
getter/setter pair

Distance to the near clipping plane. Geometry closer is clipped away.

Depth precision scales with the near plane, so a small one makes distant surfaces a few centimeters apart flicker (z-fighting). A scene rasterizes with the largest near plane that clips nothing visible, with this as the floor (Scene.fitNearPlane), so leave it small enough that nothing the camera approaches is clipped.

Implementation

double near;