Calculates a bounding box given an array of positions and a transformation matrix.
public static Bounds CalculateBounds(Vector3[] positions, Matrix4x4 transform) { Bounds bounds; INTERNAL_CALL_CalculateBounds(positions, ref transform, out bounds); return bounds; }