GlobalTransform
General
GlobalTransform és una classe en Aspose.3d per a Java.
GlobalTransform.GlobalTransform crea un nou GlobalTransform amb matriu, traducció, rotació i escala predeterminades.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
matrix | Matrix4 | Read | Property holds the object’s 4x4 transformation matrix |
translation | Vector3 | Read | Property holds the object’s translation vector |
rotation | Vector3 | Read | Property holds the object’s rotation vector (Euler angles) |
scale | Vector3 | Read |
Mètodes
| Signature | Description |
|---|---|
GlobalTransform() | Creates a new GlobalTransform with default matrix, translation, rotation, and scale |
getMatrix() → Matrix4 | Returns the 4x4 transformation matrix of the object |
getTranslation() → Vector3 | Returns the translation component as a Vector3 |
getRotation() → Vector3 | Returns the rotation component as a Vector3 (Euler angles) |
getScale() → Vector3 | Returns the scaling component as a Vector3 |