Class JointMask
java.lang.Object
net.ixdarklord.coolcatcanvas.api.client.armature.JointMask
The joints a layer may move. Masks let one layer wave the arms while another walks the legs, each with its own clip.
JointMask.of("arm_left", "arm_right") // these joints and everything on them
JointMask.only("head") // this joint alone, not its children
JointMask.all().except("tail") // everything but the tail and what hangs from it
-
Method Summary
Modifier and TypeMethodDescriptionstatic JointMaskall()Every joint.This mask without these joints and what is below them.static JointMaskThese joints and every joint below them.static JointMaskThese joints alone.boolean[]resolve(BakedArmature armature) Whether each joint of the armature is in the mask.
-
Method Details
-
all
Every joint. -
of
-
only
-
except
-
resolve
Whether each joint of the armature is in the mask.
-