GlobalTransform
Overview
GlobalTransform is a class in Aspose.3D FOSS for Typescript.
GlobalTransform.constructor creates a GlobalTransform from a Matrix4.
This class provides 2 methods for working with GlobalTransform objects in Typescript programs.
Available methods include: constructor, toString.
All public members are accessible to any Typescript application after installing the Aspose.3D FOSS for Typescript package.
Properties: eulerAngles, rotation, scale, transformMatrix, translation.
Description
GlobalTransform is a class in the Aspose.3D FOSS library for TypeScript that exposes 1 method and 5 properties for programmatic use.
Core capabilities include: vector3; vector3; vector3. These operations enable developers to integrate globaltransform functionality directly into TypeScript applications.
The class also provides the translation property (gets the translation), the scale property (gets the scale), the eulerAngles property (gets the euler angles).
Instances are created through a single constructor that initializes the object with default values.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
translation | Vector3 | Read | Gets the translation. |
scale | Vector3 | Read | Gets the scale. |
eulerAngles | Vector3 | Read | Gets the euler angles. |
rotation | Quaternion | Read | Gets the rotation. |
transformMatrix | Matrix4 | Read | Gets the transform matrix. |
Methods
| Signature | Description |
|---|---|
constructor(matrix: Matrix4) | Creates a GlobalTransform from a Matrix4 |
toString() → string | Returns a string representation of the transform |