com.aspose.threed

Interfaces

Classes

Enums

Exceptions

com.aspose.threed

Class Transform



  • public class Transform
    extends A3DObject
    A transform contains information that allow access to object's translate/scale/rotation or transform matrix at minimum cost This is used by local transform.
    • Method Detail

      • getTranslation

        public Vector3 getTranslation()
        Gets the translation
      • setTranslation

        public void setTranslation(Vector3 value)
        Sets the translation
        Parameters:
        value - New value
      • getScale

        public Vector3 getScale()
        Gets the scale
      • setScale

        public void setScale(Vector3 value)
        Sets the scale
        Parameters:
        value - New value
      • getPreRotation

        public Vector3 getPreRotation()
        Gets the pre-rotation represented in degree
      • setPreRotation

        public void setPreRotation(Vector3 value)
        Sets the pre-rotation represented in degree
        Parameters:
        value - New value
      • getPostRotation

        public Vector3 getPostRotation()
        Gets the post-rotation represented in degree
      • setPostRotation

        public void setPostRotation(Vector3 value)
        Sets the post-rotation represented in degree
        Parameters:
        value - New value
      • getEulerAngles

        public Vector3 getEulerAngles()
        Gets the rotation represented in euler angles, measured in degree
      • setEulerAngles

        public void setEulerAngles(Vector3 value)
        Sets the rotation represented in euler angles, measured in degree
        Parameters:
        value - New value
      • getRotation

        public Quaternion getRotation()
        Gets the rotation represented in quaternion.
      • setRotation

        public void setRotation(Quaternion value)
        Sets the rotation represented in quaternion.
        Parameters:
        value - New value
      • getTransformMatrix

        public Matrix4 getTransformMatrix()
        Gets the transform matrix.
      • setTransformMatrix

        public void setTransformMatrix(Matrix4 value)
        Sets the transform matrix.
        Parameters:
        value - New value