GlobalTransform
Overview
GlobalTransform is a class in Aspose.3D FOSS for .NET.
Inherits from: A3DObject.
Global transform is similar to but it’s immutable while it represents the final evaluated transformation. Right-hand coordinate system is used while evaluating global transform
This class provides 6 methods for working with GlobalTransform objects in .NET programs.
Available methods include: A3DObject, FindProperty, GetProperty, GlobalTransform, RemoveProperty, SetProperty.
All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package.
Properties: EulerAngles, Name, Properties, Rotation, Scale, TransformMatrix, and 1 more.
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. |
Name | string | Read/Write | Gets or sets the name. |
Properties | PropertyCollection | Read | Gets the properties. |
Methods
| Signature | Description |
|---|---|
GlobalTransform() | Creates a new instance representing a global transformation |
GlobalTransform(matrix: Matrix4) | The transform matrix |
A3DObject() | |
RemoveProperty(property: Property) | Removes a dynamic property. |
GetProperty(property: string) | Get the value of specified property |
SetProperty(property: string, value: object?) | Sets the value of specified property |
FindProperty(propertyName: string) | Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name) |