GeometryUtility.CalculateFrustumPlanes Manual     Reference     Scripting  
Scripting > Runtime Classes > GeometryUtility
GeometryUtility.CalculateFrustumPlanes

static function CalculateFrustumPlanes (camera : Camera) : Plane[]

Description

Calculates frustum planes.

This function takes given camera's view frustum and returns six planes that form it.

See Also: Plane, GeometryUtility.TestPlanesAABB.

static function CalculateFrustumPlanes (worldToProjectionMatrix : Matrix4x4) : Plane[]

Description

Calculates frustum planes.

This function returns six planes of a frustum defined by given view & projection matrix.

See Also: Plane, GeometryUtility.TestPlanesAABB.