GlobalTransform

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

NameTypeAccessDescription
TranslationVector3ReadGets the translation.
ScaleVector3ReadGets the scale.
EulerAnglesVector3ReadGets the euler angles.
RotationQuaternionReadGets the rotation.
TransformMatrixMatrix4ReadGets the transform matrix.
NamestringRead/WriteGets or sets the name.
PropertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
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)

See Also