UnityEngine.GeometryUtility.Internal_ExtractPlanes C# (CSharp) Method

Internal_ExtractPlanes() private static method

private static Internal_ExtractPlanes ( Plane planes, Matrix4x4 worldToProjectionMatrix ) : void
planes Plane
worldToProjectionMatrix Matrix4x4
return void
        private static void Internal_ExtractPlanes(Plane[] planes, Matrix4x4 worldToProjectionMatrix)
        {
            INTERNAL_CALL_Internal_ExtractPlanes(planes, ref worldToProjectionMatrix);
        }

Usage Example

コード例 #1
0
 public static void CalculateFrustumPlanes(Matrix4x4 worldToProjectionMatrix, Plane[] planes)
 {
     if (planes == null)
     {
         throw new ArgumentNullException("planes");
     }
     if (planes.Length != 6)
     {
         throw new ArgumentException("Planes array must be of length 6.", "planes");
     }
     GeometryUtility.Internal_ExtractPlanes(planes, worldToProjectionMatrix);
 }
All Usage Examples Of UnityEngine.GeometryUtility::Internal_ExtractPlanes