GlobalTransform

GlobalTransform

General

GlobalTransform és una classe en Aspose.3d per a Java.

GlobalTransform.GlobalTransform crea un nou GlobalTransform amb matriu, traducció, rotació i escala predeterminades.

Propietats

NameTypeAccessDescription
matrixMatrix4ReadProperty holds the object’s 4x4 transformation matrix
translationVector3ReadProperty holds the object’s translation vector
rotationVector3ReadProperty holds the object’s rotation vector (Euler angles)
scaleVector3Read

Mètodes

SignatureDescription
GlobalTransform()Creates a new GlobalTransform with default matrix, translation, rotation, and scale
getMatrix()Matrix4Returns the 4x4 transformation matrix of the object
getTranslation()Vector3Returns the translation component as a Vector3
getRotation()Vector3Returns the rotation component as a Vector3 (Euler angles)
getScale()Vector3Returns the scaling component as a Vector3
 Català