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
Name | Description |
---|---|
getTranslation() | Gets the translation |
Result:
getScale
Name | Description |
---|---|
getScale() | Gets the scale |
Result:
getEulerAngles
Name | Description |
---|---|
getEulerAngles() | Gets the rotation represented in Euler angles, measured in degree |
Result:
getRotation
Name | Description |
---|---|
getRotation() | Gets the rotation represented in quaternion. |
Result:
getTransformMatrix
Name | Description |
---|---|
getTransformMatrix() | Gets the transform matrix. |
Result: