public static Bounds CalculateBounds(Vector3[] positions, Matrix4x4 transform) { if (positions == null) { throw new ArgumentNullException("positions"); } if (positions.Length == 0) { throw new ArgumentException("Zero-sized array is not allowed.", "positions"); } return(GeometryUtility.Internal_CalculateBounds(positions, transform)); }