Package com.mojang.blaze3d.vertex
Class MatrixApplyingVertexBuilder
- java.lang.Object
-
- com.mojang.blaze3d.vertex.DefaultColorVertexBuilder
-
- com.mojang.blaze3d.vertex.MatrixApplyingVertexBuilder
-
- All Implemented Interfaces:
IVertexBuilder
,IForgeVertexBuilder
public class MatrixApplyingVertexBuilder extends DefaultColorVertexBuilder
-
-
Field Summary
Fields Modifier and Type Field Description private Matrix4f
cameraInversePose
private IVertexBuilder
delegate
private int
lightCoords
private Matrix3f
normalInversePose
private float
nx
private float
ny
private float
nz
private int
overlayU
private int
overlayV
private float
x
private float
y
private float
z
-
Fields inherited from class com.mojang.blaze3d.vertex.DefaultColorVertexBuilder
defaultA, defaultB, defaultColorSet, defaultG, defaultR
-
Fields inherited from interface com.mojang.blaze3d.vertex.IVertexBuilder
LOGGER
-
-
Constructor Summary
Constructors Constructor Description MatrixApplyingVertexBuilder(IVertexBuilder p_i241245_1_, Matrix4f p_i241245_2_, Matrix3f p_i241245_3_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IVertexBuilder
color(int p_225586_1_, int p_225586_2_, int p_225586_3_, int p_225586_4_)
void
endVertex()
IVertexBuilder
normal(float p_225584_1_, float p_225584_2_, float p_225584_3_)
IVertexBuilder
overlayCoords(int p_225585_1_, int p_225585_2_)
private void
resetState()
IVertexBuilder
uv(float p_225583_1_, float p_225583_2_)
IVertexBuilder
uv2(int p_225587_1_, int p_225587_2_)
IVertexBuilder
vertex(double p_225582_1_, double p_225582_3_, double p_225582_5_)
-
Methods inherited from class com.mojang.blaze3d.vertex.DefaultColorVertexBuilder
defaultColor
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraftforge.client.extensions.IForgeVertexBuilder
addVertexData, addVertexData, addVertexData, addVertexData, applyBakedLighting, applyBakedNormals, getVertexBuilder
-
Methods inherited from interface com.mojang.blaze3d.vertex.IVertexBuilder
color, normal, overlayCoords, putBulkData, putBulkData, uv2, vertex, vertex
-
-
-
-
Field Detail
-
delegate
private final IVertexBuilder delegate
-
cameraInversePose
private final Matrix4f cameraInversePose
-
normalInversePose
private final Matrix3f normalInversePose
-
x
private float x
-
y
private float y
-
z
private float z
-
overlayU
private int overlayU
-
overlayV
private int overlayV
-
lightCoords
private int lightCoords
-
nx
private float nx
-
ny
private float ny
-
nz
private float nz
-
-
Constructor Detail
-
MatrixApplyingVertexBuilder
public MatrixApplyingVertexBuilder(IVertexBuilder p_i241245_1_, Matrix4f p_i241245_2_, Matrix3f p_i241245_3_)
-
-
Method Detail
-
resetState
private void resetState()
-
endVertex
public void endVertex()
-
vertex
public IVertexBuilder vertex(double p_225582_1_, double p_225582_3_, double p_225582_5_)
-
color
public IVertexBuilder color(int p_225586_1_, int p_225586_2_, int p_225586_3_, int p_225586_4_)
-
uv
public IVertexBuilder uv(float p_225583_1_, float p_225583_2_)
-
overlayCoords
public IVertexBuilder overlayCoords(int p_225585_1_, int p_225585_2_)
-
uv2
public IVertexBuilder uv2(int p_225587_1_, int p_225587_2_)
-
normal
public IVertexBuilder normal(float p_225584_1_, float p_225584_2_, float p_225584_3_)
-
-