decompose(AffineTransform, out float3, out quaternion, out float3)
Decomposes the AffineTransform in translation, rotation and scale.
阅读时间1 分钟最后更新于 1 个月前
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.