文档

Unity Engine

Unity Engine

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

Decomposes the AffineTransform in translation, rotation and scale.
阅读时间1 分钟最后更新于 1 个月前

Definition

decompose(AffineTransform, float3, quaternion, float3)

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

Parameters

The AffineTransform

translation

The decomposed translation vector of the AffineTransform.

rotation

The decomposed rotation quaternion of the AffineTransform.

scale

The decomposed scale of the AffineTransform.