GeometryUtility.CalculateFrustumPlanesstatic function CalculateFrustumPlanes (camera : Camera) : Plane[]DescriptionCalculates frustum planes. This function takes given camera's view frustum and returns six planes that form it. See Also: Plane, GeometryUtility.TestPlanesAABB.
JavaScript
// Creates 6 planes that represent the camera frustrum. using UnityEngine; import UnityEngine static function CalculateFrustumPlanes (worldToProjectionMatrix : Matrix4x4) : Plane[]DescriptionCalculates frustum planes. This function returns six planes of a frustum defined by given view & projection matrix. See Also: Plane, GeometryUtility.TestPlanesAABB. |
