Class Skin.Builder
java.lang.Object
foundry.veil.api.client.necromancer.render.Skin.Builder
- Enclosing class:
Skin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddCube
(float xSize, float ySize, float zSize, float xOffset, float yOffset, float zOffset, float xInflate, float yInflate, float zInflate, float uOffset, float vOffset, boolean mirrored) addFace
(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4, float normalX, float normalY, float normalZ) addIndex
(int index) addMirroredQuadIndices
(int index) addQuadIndices
(int index) addTri
(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float normalX, float normalY, float normalZ) addVertex
(float x, float y, float z, float u, float v, float normalX, float normalY, float normalZ) build()
setTransform
(com.mojang.blaze3d.vertex.PoseStack stack) setTransform
(com.mojang.blaze3d.vertex.PoseStack.Pose pose) setTransform
(MatrixStack stack) setTransform
(org.joml.Matrix4fc position)
-
Constructor Details
-
Builder
public Builder(float textureWidth, float textureHeight)
-
-
Method Details
-
startBone
-
setTransform
-
setTransform
-
setTransform
-
setTransform
-
addVertex
public Skin.Builder addVertex(float x, float y, float z, float u, float v, float normalX, float normalY, float normalZ) -
addIndex
-
addQuadIndices
-
addMirroredQuadIndices
-
addCube
public Skin.Builder addCube(float xSize, float ySize, float zSize, float xOffset, float yOffset, float zOffset, float xInflate, float yInflate, float zInflate, float uOffset, float vOffset, boolean mirrored) -
addTri
public Skin.Builder addTri(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float normalX, float normalY, float normalZ) -
addFace
public Skin.Builder addFace(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4, float normalX, float normalY, float normalZ) -
build
-