# Transform

> Transforms the AABB with the given transform.

## Definition

* **Type:** Method
* **Namespace:** [Unity.Mathematics.Geometry](/engine/6000.5/script-reference/unity/mathematics/geometry.md)
* **Assembly:** UnityEngine.MathematicsModule

## Transform(RigidTransform, MinMaxAABB)

Transforms the AABB with the given transform.

```csharp
public static MinMaxAABB Transform(RigidTransform transform, MinMaxAABB aabb)
```

### Parameters

**** (\[RigidTransform]\(/engine/6000.5/script-reference/unity/mathematics/rigidtransform)): Transform to apply to AABB.**** (\[MinMaxAABB]\(/engine/6000.5/script-reference/unity/mathematics/geometry/minmaxaabb)): AABB to be transformed.

### Returns

| Type                                                                                   | Description       |
| -------------------------------------------------------------------------------------- | ----------------- |
| [MinMaxAABB](/engine/6000.5/script-reference/unity/mathematics/geometry/minmaxaabb.md) | Transformed AABB. |

### Remarks

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

## Transform(float4x4, MinMaxAABB)

Transforms the AABB with the given transform.

```csharp
public static MinMaxAABB Transform(float4x4 transform, MinMaxAABB aabb)
```

### Parameters

**** (\[float4x4]\(/engine/6000.5/script-reference/unity/mathematics/float4x4)): Transform to apply to AABB.**** (\[MinMaxAABB]\(/engine/6000.5/script-reference/unity/mathematics/geometry/minmaxaabb)): AABB to be transformed.

### Returns

| Type                                                                                   | Description       |
| -------------------------------------------------------------------------------------- | ----------------- |
| [MinMaxAABB](/engine/6000.5/script-reference/unity/mathematics/geometry/minmaxaabb.md) | Transformed AABB. |

### Remarks

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

## Transform(float3x3, MinMaxAABB)

Transforms the AABB with the given transform.

```csharp
public static MinMaxAABB Transform(float3x3 transform, MinMaxAABB aabb)
```

### Parameters

**** (\[float3x3]\(/engine/6000.5/script-reference/unity/mathematics/float3x3)): Transform to apply to AABB.**** (\[MinMaxAABB]\(/engine/6000.5/script-reference/unity/mathematics/geometry/minmaxaabb)): AABB to be transformed.

### Returns

| Type                                                                                   | Description       |
| -------------------------------------------------------------------------------------- | ----------------- |
| [MinMaxAABB](/engine/6000.5/script-reference/unity/mathematics/geometry/minmaxaabb.md) | Transformed AABB. |

### Remarks

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