public void addBones(Armature armature, String... jointNames) {
        for (String jointName : jointNames) {
            Joint joint = findJoint(armature, jointName);
            affectedJoints.set(joint.getId());
        }
    }
Add joints to be influenced by this animation mask.

@param armature the Armature containing the joints
@param jointNames the names of the joints to be influenced

@throws IllegalArgumentException if it can not find the joint
         with the specified name on the provided armature
jme3-core/src/main/java/com/jme3/anim/ArmatureMask.java