GlobalTransform

GlobalTransform

Overview

GlobalTransform is a class in Aspose.3D FOSS for Java.

Global transform is similar to Transform but it’s immutable while it represents the final evaluated transformation.

This class provides 7 methods for working with GlobalTransform objects in Java programs. Available methods include: GlobalTransform, getEulerAngles, getRotation, getScale, getTransformMatrix, getTranslation. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: eulerAngles, rotation, scale, transformMatrix, translation.

Properties

NameTypeAccessDescription
translationVector3ReadGets the translation.
scaleVector3ReadGets the scale.
eulerAnglesVector3ReadGets the rotation represented in Euler angles, measured in degree.
rotationQuaternionReadGets the rotation represented in quaternion.
transformMatrixMatrix4ReadGets the transform matrix.

Methods

SignatureDescription
GlobalTransform()Initializes a new instance of the GlobalTransform class.
GlobalTransform(matrix: Matrix4)Initializes a new instance of the GlobalTransform class with the specified matrix.
getTranslation()Vector3Gets the translation.
getScale()Vector3Gets the scale.
getEulerAngles()Vector3Gets the rotation represented in Euler angles, measured in degree.
getRotation()QuaternionGets the rotation represented in quaternion.
getTransformMatrix()Matrix4Gets the transform matrix.

See Also

 English