@Override
    public void write(JmeExporter ex) throws IOException {
        super.write(ex);
        OutputCapsule oc = ex.getCapsule(this);
        oc.write(armature, "armature", null);

        oc.write(numberOfJointsParam, "numberOfBonesParam", null);
        oc.write(jointMatricesParam, "boneMatricesParam", null);
    }
Serialize this Control to the specified exporter, for example when saving
to a J3O file.

@param ex the exporter to write to (not null)
@throws IOException from the exporter
jme3-core/src/main/java/com/jme3/anim/SkinningControl.java