Class RefSysTransform

java.lang.Object
gaiasky.scene.component.RefSysTransform
All Implemented Interfaces:
com.badlogic.ashley.core.Component

public class RefSysTransform extends Object implements com.badlogic.ashley.core.Component
  • Field Details

    • transformName

      public String transformName
    • matrix

      public Matrix4d matrix
    • matrixf

      public com.badlogic.gdx.math.Matrix4 matrixf
    • floatVersion

      public boolean floatVersion
  • Constructor Details

    • RefSysTransform

      public RefSysTransform()
  • Method Details

    • setTransformFunction

      public void setTransformFunction(String transformFunction)
    • setTransformName

      public void setTransformName(String transformFunction)
    • setMatrix

      public void setMatrix(String transformName)
    • setTransformMatrix

      public void setTransformMatrix(double[] matrixValues)
    • setTransformMatrix

      public void setTransformMatrix(Matrix4d m)
    • setTransformMatrix

      public void setTransformMatrix(com.badlogic.gdx.math.Matrix4 m)
    • setTransformValues

      public void setTransformValues(double[] transformValues)
      Constructs the transformation matrix from a double array containing the values in a column-major order (first the four values of the first column, then the second, etc.). The double array must have at least 16 elements; the first 16 will be copied.