Class SmdModel
java.lang.Object
com.pixelmonmod.pixelmon.client.models.smd.SmdModel
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBoneByName
(String name) void
render
(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float r, float g, float b, float a) void
setAnimation
(SmdAnimation anim)
-
Field Details
-
owner
-
faces
-
verts
-
bones
-
currentAnim
-
root
-
-
Method Details
-
setAnimation
-
getBoneByName
- Parameters:
name
- - The name of the Bone contained within this model. (can be seen in the original SMD file)- Returns:
- The Bone with the input
name
ornull
if a Bone with such a name does not exist.
-
currentFrame
-
render
public void render(com.mojang.blaze3d.vertex.PoseStack poseStack, com.mojang.blaze3d.vertex.VertexConsumer buffer, int packedLight, int packedOverlay, float r, float g, float b, float a)
-