Method CalculateBounds
CalculateBounds(List<Vector3>, Matrix4x4)
Calculates the bounds that encapsulates all of the vectors after they have been transformed by the supplied matrix.
Declaration
public static Bounds CalculateBounds(List<Vector3> vectors, Matrix4x4 matrix)
Parameters
Type | Name | Description |
---|---|---|
List<Vector3> | vectors | The vectors to encapsulate into the returned bounds. |
Matrix4x4 | matrix | The matrix to transform all of the vectors by. |
Returns
Type | Description |
---|---|
Bounds | The bounds that contains all of the transformed vectors. |