decompose(AffineTransform, out float3, out quaternion, out float3)
Decomposes the AffineTransform in translation, rotation and scale.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: Unity.Mathematics
- Assembly: UnityEngine.MathematicsModule
decompose(AffineTransform, float3, quaternion, float3)
public static void decompose(AffineTransform a, out float3 translation, out quaternion rotation, out float3 scale)
Parameters
The AffineTransform
The decomposed translation vector of the AffineTransform.
The decomposed rotation quaternion of the AffineTransform.
The decomposed scale of the AffineTransform.