Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

Math.Transform

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static MinMaxAABB Transform(RigidTransform transform, MinMaxAABB aabb);

Parameters

Parameter Description
transform Transform to apply to AABB.
aabb AABB to be transformed.

Returns

MinMaxAABB Transformed AABB.

Description

Transforms the AABB with the given transform.

The resulting AABB encapsulates the transformed AABB which may not be axis aligned after the transformation.


Declaration

public static MinMaxAABB Transform(float4x4 transform, MinMaxAABB aabb);

Parameters

Parameter Description
transform Transform to apply to AABB.
aabb AABB to be transformed.

Returns

MinMaxAABB Transformed AABB.

Description

Transforms the AABB with the given transform.

The resulting AABB encapsulates the transformed AABB which may not be axis aligned after the transformation.


Declaration

public static MinMaxAABB Transform(float3x3 transform, MinMaxAABB aabb);

Parameters

Parameter Description
transform Transform to apply to AABB.
aabb AABB to be transformed.

Returns

MinMaxAABB Transformed AABB.

Description

Transforms the AABB with the given transform.

The resulting AABB encapsulates the transformed AABB which may not be axis aligned after the transformation.