setNearFarPlanes

fun setNearFarPlanes(nearPlane: Float, farPlane: Float)

Sets near and far plane values and requests to render a frame. 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.