Class ArmaturePoints
java.lang.Object
net.ixdarklord.coolcatcanvas.api.client.armature.render.ArmaturePoints
Moving a pose stack to an armature's points, for attachments and sockets.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanmoveTo(ArmatureFrame frame, String point, com.mojang.blaze3d.vertex.PoseStack poseStack) Moves the pose stack (at the model's origin, asArmatureDraw.submit(ArmatureFrame, PoseStack, SubmitNodeCollector, ArmatureDraw.Style)takes it) to a point or joint pivot, in blocks, turned as the point is and scaled with the armature.
-
Method Details
-
moveTo
public static boolean moveTo(ArmatureFrame frame, String point, com.mojang.blaze3d.vertex.PoseStack poseStack) Moves the pose stack (at the model's origin, asArmatureDraw.submit(ArmatureFrame, PoseStack, SubmitNodeCollector, ArmatureDraw.Style)takes it) to a point or joint pivot, in blocks, turned as the point is and scaled with the armature. Returns false, leaving the stack as it was, if the armature has no point or joint by that name.
-