类 SheetedDecalTextureGenerator
java.lang.Object
com.mojang.blaze3d.vertex.DefaultedVertexConsumer
com.mojang.blaze3d.vertex.SheetedDecalTextureGenerator
- 所有已实现的接口:
VertexConsumer
,IForgeVertexConsumer
-
字段概要
字段修饰符和类型字段说明private final org.joml.Matrix4f
private final VertexConsumer
private int
private final org.joml.Matrix3f
private float
private float
private float
private int
private int
private final float
private float
private float
private float
从类继承的字段 com.mojang.blaze3d.vertex.DefaultedVertexConsumer
defaultA, defaultB, defaultColorSet, defaultG, defaultR
-
构造器概要
构造器构造器说明SheetedDecalTextureGenerator
(VertexConsumer pDelegate, org.joml.Matrix4f pCameraPose, org.joml.Matrix3f pNormalPose, float pTextureScale) -
方法概要
从类继承的方法 com.mojang.blaze3d.vertex.DefaultedVertexConsumer
defaultColor, unsetDefaultColor
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 net.minecraftforge.client.extensions.IForgeVertexConsumer
applyBakedLighting, applyBakedNormals, misc, putBulkData
从接口继承的方法 com.mojang.blaze3d.vertex.VertexConsumer
color, color, normal, overlayCoords, putBulkData, putBulkData, putBulkData, uv2, vertex, vertex
-
字段详细资料
-
delegate
-
cameraInversePose
private final org.joml.Matrix4f cameraInversePose -
normalInversePose
private final org.joml.Matrix3f normalInversePose -
textureScale
private final float textureScale -
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
-
-
构造器详细资料
-
SheetedDecalTextureGenerator
public SheetedDecalTextureGenerator(VertexConsumer pDelegate, org.joml.Matrix4f pCameraPose, org.joml.Matrix3f pNormalPose, float pTextureScale)
-
-
方法详细资料
-
resetState
private void resetState() -
endVertex
public void endVertex() -
vertex
-
color
-
uv
-
overlayCoords
-
uv2
-
normal
-