UnityEngine.GeometryUtility.CalculateBounds C# (CSharp) Method

CalculateBounds() public static method

Calculates a bounding box given an array of positions and a transformation matrix.

public static CalculateBounds ( Vector3 positions, Matrix4x4 transform ) : Bounds
positions Vector3
transform Matrix4x4
return Bounds
        public static Bounds CalculateBounds(Vector3[] positions, Matrix4x4 transform)
        {
            Bounds bounds;
            INTERNAL_CALL_CalculateBounds(positions, ref transform, out bounds);
            return bounds;
        }