GlobalTransform

GlobalTransform class

Global transform is similar to Transform but it’s immutable while it represents the final evaluated transformation. Right-hand coordinate system is used while evaluating global transform @hideconstructor

Methods

getTranslation

NameDescription
getTranslation()Gets the translation

Result:


getScale

NameDescription
getScale()Gets the scale

Result:


getEulerAngles

NameDescription
getEulerAngles()Gets the rotation represented in Euler angles, measured in degree

Result:


getRotation

NameDescription
getRotation()Gets the rotation represented in quaternion.

Result:


getTransformMatrix

NameDescription
getTransformMatrix()Gets the transform matrix.

Result: