Class Matrix4Attribute
java.lang.Object
gaiasky.render.gdx.shader.attribute.Attribute
gaiasky.render.gdx.shader.attribute.Matrix4Attribute
- All Implemented Interfaces:
Comparable<Attribute>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMatrix4Attribute(int index) Matrix4Attribute(int index, com.badlogic.gdx.math.Matrix4 value) -
Method Summary
Modifier and TypeMethodDescriptionintcopy()static Matrix4AttributecreateEnvRotation(float azymuthAngleDegree) static Matrix4AttributecreateEnvRotation(com.badlogic.gdx.math.Matrix4 matrix) booleaninthashCode()set(float azimuthAngleDegree) set(com.badlogic.gdx.math.Matrix4 value) Methods inherited from class Attribute
equals, getAttributeAlias, getAttributeIndex, getAttributeIndex, getAttributeType, getIndex, getNumAttributes, getTypes, has, register, toStringModifier and TypeMethodDescriptionprotected booleanstatic StringgetAttributeAlias(Bits type) static intgetAttributeIndex(Bits type) static intgetAttributeIndex(String alias) static BitsgetAttributeType(String alias) protected static intgetIndex(long oldType) static intstatic com.badlogic.gdx.utils.Array<String> getTypes()booleanhas(int index) protected static intCall this method to register a custom attribute type, see the wiki for an example.toString()
-
Field Details
-
ShadowMapProjViewTransAlias
- See Also:
-
ShadowMapProjViewTrans
public static final int ShadowMapProjViewTrans -
EnvRotationAlias
- See Also:
-
EnvRotation
public static final int EnvRotation -
value
public com.badlogic.gdx.math.Matrix4 value
-
-
Constructor Details
-
Matrix4Attribute
public Matrix4Attribute(int index) -
Matrix4Attribute
public Matrix4Attribute(int index, com.badlogic.gdx.math.Matrix4 value)
-
-
Method Details
-
createEnvRotation
-
createEnvRotation
-
set
-
set
-
copy
-
hashCode
-
equals
-
compareTo
-