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);
}