Class Fixed3DStruct
java.lang.Object
org.boxutil.define.struct.instance.Fixed3DStruct
Just for formatted update, without getter.
// 48 byte
struct Fixed3D { // binding 7
vec4 rotate_LocationX;
vec4 scale_LocationY;
vec2 alpha_LocationZ;
uvec2 colorBits;
};
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat[]getData()setColor(byte r, byte g, byte b, byte a) setColor(float r, float g, float b, float a) setColor(int r, int g, int b, int a) setColor(org.lwjgl.util.vector.Vector4f color) setEmissive(byte r, byte g, byte b, byte a) setEmissive(float r, float g, float b, float a) setEmissive(int r, int g, int b, int a) setEmissive(Color color) setEmissive(org.lwjgl.util.vector.Vector4f color) setFixedInstanceAlpha(float alpha, byte state) setLocation(float x, float y, float z) setLocation(org.lwjgl.util.vector.Vector3f location) setRotate(float z, float x, float y) setRotate(org.lwjgl.util.vector.Vector3f rotate) setScale(float x, float y, float z) setScale(org.lwjgl.util.vector.Vector3f scale)
-
Field Details
-
state
protected final float[] state
-
-
Constructor Details
-
Fixed3DStruct
public Fixed3DStruct()
-
-
Method Details
-
getData
public float[] getData() -
setLocation
-
setLocation
-
setRotate
-
setRotate
-
setScale
-
setScale
-
setColor
-
setColor
-
setColor
-
setColor
-
setColor
-
setEmissive
-
setEmissive
-
setEmissive
-
setEmissive
-
setEmissive
-
setFixedInstanceAlpha
- Parameters:
state- valid state:BoxEnum.TIMER_IN,BoxEnum.TIMER_FULL,BoxEnum.TIMER_OUT.
-
copyFixedInstanceAlphaState
-