GlobalTransform
Overview
GlobalTransform is a class in Aspose.3D FOSS for Java.
Global transform is similar to Transform but it’s immutable while it represents the final evaluated transformation.
This class provides 7 methods for working with GlobalTransform objects in Java programs.
Available methods include: GlobalTransform, getEulerAngles, getRotation, getScale, getTransformMatrix, getTranslation.
All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package.
Properties: eulerAngles, rotation, scale, transformMatrix, translation.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
translation | Vector3 | Read | Gets the translation. |
scale | Vector3 | Read | Gets the scale. |
eulerAngles | Vector3 | Read | Gets the rotation represented in Euler angles, measured in degree. |
rotation | Quaternion | Read | Gets the rotation represented in quaternion. |
transformMatrix | Matrix4 | Read | Gets the transform matrix. |
Methods
| Signature | Description |
|---|---|
GlobalTransform() | Initializes a new instance of the GlobalTransform class. |
GlobalTransform(matrix: Matrix4) | Initializes a new instance of the GlobalTransform class with the specified matrix. |
getTranslation() → Vector3 | Gets the translation. |
getScale() → Vector3 | Gets the scale. |
getEulerAngles() → Vector3 | Gets the rotation represented in Euler angles, measured in degree. |
getRotation() → Quaternion | Gets the rotation represented in quaternion. |
getTransformMatrix() → Matrix4 | Gets the transform matrix. |