类 SheetedDecalTextureGenerator

java.lang.Object
com.mojang.blaze3d.vertex.DefaultedVertexConsumer
com.mojang.blaze3d.vertex.SheetedDecalTextureGenerator
所有已实现的接口:
VertexConsumer, IForgeVertexConsumer

public class SheetedDecalTextureGenerator extends DefaultedVertexConsumer
  • 字段详细资料

    • delegate

      private final VertexConsumer 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

      public VertexConsumer vertex(double pX, double pY, double pZ)
    • color

      public VertexConsumer color(int pRed, int pGreen, int pBlue, int pAlpha)
    • uv

      public VertexConsumer uv(float pU, float pV)
    • overlayCoords

      public VertexConsumer overlayCoords(int pU, int pV)
    • uv2

      public VertexConsumer uv2(int pU, int pV)
    • normal

      public VertexConsumer normal(float pX, float pY, float pZ)