Class GlobalTransform


  • public class GlobalTransform
    extends java.lang.Object
    Global transform is similar to Transform but it's immutable while it represents the final evaluated transformation. Right-hand coordinate system is used while evaluating global transform
    • Method Summary

      Modifier and Type Method Description
      Vector3 getEulerAngles()
      Gets the rotation represented in euler angles, measured in degree
      Quaternion getRotation()
      Gets the rotation represented in quaternion.
      Vector3 getScale()
      Gets the scale
      Matrix4 getTransformMatrix()
      Gets the transform matrix.
      Vector3 getTranslation()
      Gets the translation
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTranslation

        public Vector3 getTranslation()
        Gets the translation
      • getScale

        public Vector3 getScale()
        Gets the scale
      • getEulerAngles

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

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

        public Matrix4 getTransformMatrix()
        Gets the transform matrix.