Method Transform
Transform(float4x4, AABB)
Transforms an AABB by a 4x4 transformation matrix, and returns a new AABB that contains the transformed AABB completely.
Declaration
public static AABB Transform(float4x4 transform, AABB localBounds)
Parameters
Type | Name | Description |
---|---|---|
float4x4 | transform | The 4x4 transformation matrix, with which to transform the AABB |
AABB | localBounds | The AABB to transform by the matrix |
Returns
Type | Description |
---|---|
AABB | A new AABB that contains the transformed AABB. |