Class RefSysTransform
java.lang.Object
gaiasky.scene.component.RefSysTransform
- All Implemented Interfaces:
com.badlogic.ashley.core.Component
-
Field Summary
FieldsModifier and TypeFieldDescriptionbooleancom.badlogic.gdx.math.Matrix4 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidsetTransformFunction(String transformFunction) voidsetTransformMatrix(double[] matrixValues) voidsetTransformMatrix(com.badlogic.gdx.math.Matrix4 m) voidvoidsetTransformName(String transformFunction) voidsetTransformValues(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.).
-
Field Details
-
transformName
-
matrix
-
matrixf
public com.badlogic.gdx.math.Matrix4 matrixf -
floatVersion
public boolean floatVersion
-
-
Constructor Details
-
RefSysTransform
public RefSysTransform()
-
-
Method Details
-
setTransformFunction
-
setTransformName
-
setMatrix
-
setTransformMatrix
public void setTransformMatrix(double[] matrixValues) -
setTransformMatrix
-
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.
-