Back to class index
| Frustum::SetViewPlaneDistancesSyntaxvoid Frustum::SetViewPlaneDistances(float nearPlaneDistance, float farPlaneDistance); [6 lines of code]Sets the depth clip distances of this Frustum. Note Calling this function recomputes the cached projection matrix of this Frustum. ParametersfloatnearPlaneDistanceThe z distance from the eye point to the position of the Frustum near clip plane. Always pass a positive value here. floatfarPlaneDistanceThe z distance from the eye point to the position of the Frustum far clip plane. Always pass a value that is larger than nearClipDistance. See Also |