Package com.mojang.blaze3d.vertex
Class SheetedDecalTextureGenerator
java.lang.Object
com.mojang.blaze3d.vertex.SheetedDecalTextureGenerator
- All Implemented Interfaces:
VertexConsumer
,IForgeVertexConsumer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final org.joml.Matrix4f
private final VertexConsumer
private final org.joml.Vector3f
private final org.joml.Matrix3f
private final float
private final org.joml.Vector3f
private float
private float
private float
-
Constructor Summary
ConstructorDescriptionSheetedDecalTextureGenerator
(VertexConsumer p_260211_, PoseStack.Pose p_332899_, float p_259312_) -
Method Summary
Modifier and TypeMethodDescriptionaddVertex
(float p_345104_, float p_342988_, float p_342152_) setColor
(int p_344386_, int p_345260_, int p_344616_, int p_345057_) setNormal
(float p_344306_, float p_342091_, float p_344579_) setUv
(float p_343310_, float p_343059_) setUv1
(int p_344277_, int p_343886_) setUv2
(int p_342602_, int p_345062_) 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.IForgeVertexConsumer
applyBakedLighting, applyBakedNormals, misc, putBulkData
Methods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
addVertex, addVertex, addVertex, addVertex, addVertex, putBulkData, putBulkData, setColor, setColor, setLight, setNormal, setOverlay, setWhiteAlpha
-
Field Details
-
delegate
-
cameraInversePose
private final org.joml.Matrix4f cameraInversePose -
normalInversePose
private final org.joml.Matrix3f normalInversePose -
textureScale
private final float textureScale -
worldPos
private final org.joml.Vector3f worldPos -
normal
private final org.joml.Vector3f normal -
x
private float x -
y
private float y -
z
private float z
-
-
Constructor Details
-
SheetedDecalTextureGenerator
public SheetedDecalTextureGenerator(VertexConsumer p_260211_, PoseStack.Pose p_332899_, float p_259312_)
-
-
Method Details
-
addVertex
- Specified by:
addVertex
in interfaceVertexConsumer
-
setColor
- Specified by:
setColor
in interfaceVertexConsumer
-
setUv
- Specified by:
setUv
in interfaceVertexConsumer
-
setUv1
- Specified by:
setUv1
in interfaceVertexConsumer
-
setUv2
- Specified by:
setUv2
in interfaceVertexConsumer
-
setNormal
- Specified by:
setNormal
in interfaceVertexConsumer
-