Class QuadBrightness
java.lang.Object
com.mojang.blaze3d.vertex.QuadBrightness
- Direct Known Subclasses:
QuadBrightness.Mutable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final QuadBrightnessprotected floatprotected floatprotected floatprotected float -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateQuadBrightness(float value0, float value1, float value2, float value3) -
Method Summary
Modifier and TypeMethodDescriptionfloatget(int vertex) intscaleColor(int vertex, int baseColor)
-
Field Details
-
ALL_BRIGHT
-
value0
protected float value0 -
value1
protected float value1 -
value2
protected float value2 -
value3
protected float value3
-
-
Constructor Details
-
QuadBrightness
private QuadBrightness(float value0, float value1, float value2, float value3)
-
-
Method Details
-
get
public float get(int vertex) -
scaleColor
public int scaleColor(int vertex, int baseColor)
-