GlobalTransform
General
GlobalTransform és una classe de l’Aspose.3d per a Typescript. Hereta del: ゚GlobalTransform⌒ .
GlobalTransform.el constructor crea una nova transformació de la matriu 4x4 donada.
Propietats
| Name | Type | Access | Description |
|---|---|---|---|
translation | Vector3 | Read | Gets or sets the translation component as a Vector3 |
scale | Vector3 | Read | |
eulerAngles | Vector3 | Read | Gets or sets rotation expressed as Euler angles (Vector3) |
rotation | Quaternion | Read | Gets or sets the rotation component as a Quaternion |
transformMatrix | Matrix4 | Read | Gets or sets the full 4x4 transformation matrix |
Mètodes
| Signature | Description |
|---|---|
constructor(matrix: Matrix4) | Creates a new transform from the given 4x4 matrix |
toString() → string | Returns a string representation of the transform |