Package net.minecraft.client.render
Class TransformingVertexConsumer
java.lang.Object
net.minecraft.client.render.FixedColorVertexConsumer
net.minecraft.client.render.TransformingVertexConsumer
- All Implemented Interfaces:
VertexConsumer
@Environment(CLIENT) public class TransformingVertexConsumer extends FixedColorVertexConsumer
-
Field Summary
Fields Modifier and Type Field Description private intlightprivate Matrix3fnormalMatrixprivate floatnormalXprivate floatnormalYprivate floatnormalZprivate Matrix4ftextureMatrixprivate intu1private intv1private VertexConsumervertexConsumerprivate floatxprivate floatyprivate floatzFields inherited from class net.minecraft.client.render.FixedColorVertexConsumer
colorFixed, fixedAlpha, fixedBlue, fixedGreen, fixedRed -
Constructor Summary
Constructors Constructor Description TransformingVertexConsumer(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f) -
Method Summary
Modifier and Type Method Description VertexConsumercolor(int red, int green, int blue, int alpha)private voidinit()VertexConsumerlight(int u, int v)voidnext()VertexConsumernormal(float x, float y, float z)VertexConsumeroverlay(int u, int v)VertexConsumertexture(float u, float v)VertexConsumervertex(double x, double y, double z)
-
Field Details
-
vertexConsumer
-
textureMatrix
-
normalMatrix
-
x
private float x -
y
private float y -
z
private float z -
u1
private int u1 -
v1
private int v1 -
light
private int light -
normalX
private float normalX -
normalY
private float normalY -
normalZ
private float normalZ
-
-
Constructor Details
-
TransformingVertexConsumer
public TransformingVertexConsumer(VertexConsumer vertexConsumer, Matrix4f matrix4f, Matrix3f matrix3f)
-
-
Method Details