Class TransformingVertexPipeline
java.lang.Object
net.neoforged.neoforge.client.model.pipeline.VertexConsumerWrapper
net.neoforged.neoforge.client.model.pipeline.TransformingVertexPipeline
- All Implemented Interfaces:
com.mojang.blaze3d.vertex.VertexConsumer
,IVertexConsumerExtension
Vertex pipeline element that applies a transformation to incoming geometry.
-
Field Summary
FieldsFields inherited from class net.neoforged.neoforge.client.model.pipeline.VertexConsumerWrapper
parent
-
Constructor Summary
ConstructorsConstructorDescriptionTransformingVertexPipeline
(com.mojang.blaze3d.vertex.VertexConsumer parent, com.mojang.math.Transformation transformation) -
Method Summary
Methods inherited from class net.neoforged.neoforge.client.model.pipeline.VertexConsumerWrapper
misc, setColor, setUv, setUv1, setUv2
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.neoforge.client.extensions.IVertexConsumerExtension
applyBakedLighting, applyBakedNormals, putBulkData
Methods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
addVertex, addVertex, addVertex, addVertex, addVertex, putBulkData, putBulkData, setColor, setColor, setLight, setNormal, setNormal, setOverlay, setWhiteAlpha
-
Field Details
-
transformation
private final com.mojang.math.Transformation transformation
-
-
Constructor Details
-
TransformingVertexPipeline
public TransformingVertexPipeline(com.mojang.blaze3d.vertex.VertexConsumer parent, com.mojang.math.Transformation transformation)
-
-
Method Details
-
addVertex
public com.mojang.blaze3d.vertex.VertexConsumer addVertex(float x, float y, float z) - Specified by:
addVertex
in interfacecom.mojang.blaze3d.vertex.VertexConsumer
- Overrides:
addVertex
in classVertexConsumerWrapper
-
setNormal
public com.mojang.blaze3d.vertex.VertexConsumer setNormal(float x, float y, float z) - Specified by:
setNormal
in interfacecom.mojang.blaze3d.vertex.VertexConsumer
- Overrides:
setNormal
in classVertexConsumerWrapper
-