private static Internal_ExtractPlanes ( |
||
planes | ||
worldToProjectionMatrix | ||
Résultat | void |
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); }
public static Plane[] CalculateFrustumPlanes(Matrix4x4 worldToProjectionMatrix) { Plane[] array = new Plane[6]; GeometryUtility.Internal_ExtractPlanes(array, worldToProjectionMatrix); return(array); }