setNearFarPlanes

fun setNearFarPlanes(nearPlane: Float, farPlane: Float)

Sets near and far plane values. Any vertex nearer to the camera than the near plane, or any vertex further from the camera than the far plane is ignored and not drawn.

Parameters

nearPlane

near plane.

farPlane

far plane.