fromFrustum MethodStatic

Compute the six planes of the specified frustum. If the frustum is degenerate - that is, its points do not represent a truncated pyramid - then the returned FrustumPlanes will contain zero planes.

fromFrustum(frustum: Frustum): FrustumPlanes

@note This method assumes that the front plane is parallel to the back plane.

@see FrustumPlanes.isValid to test this condition.

Parameter Type Description
frustum Frustum  

Returns - FrustumPlanes

Defined in

Last Updated: 16 April, 2024