# decompose(AffineTransform, out float3, out quaternion, out float3)

> Decomposes the AffineTransform in translation, rotation and scale.

## Definition

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

## decompose(AffineTransform, float3, quaternion, float3)

```csharp
public static void decompose(AffineTransform a, out float3 translation, out quaternion rotation, out float3 scale)
```

### Parameters

**** (\[AffineTransform]\(/engine/6000.7/script-reference/unity/mathematics/affinetransform)): The AffineTransform**** (\[float3]\(/engine/6000.7/script-reference/unity/mathematics/float3)): The decomposed translation vector of the AffineTransform.**** (\[quaternion]\(/engine/6000.7/script-reference/unity/mathematics/quaternion)): The decomposed rotation quaternion of the AffineTransform.**** (\[float3]\(/engine/6000.7/script-reference/unity/mathematics/float3)): The decomposed scale of the AffineTransform.
