@Override
    public void write(JmeExporter ex) throws IOException {
        OutputCapsule output = ex.getCapsule(this);

        output.write(name, "name", null);
        output.write(attachNode, "attachNode", null);
        output.write(targetGeometry, "targetGeometry", null);
        output.write(bindPos, "bindPos", null);
        output.write(bindRot, "bindRot", null);
        output.write(bindScale, "bindScale", new Vector3f(1.0f, 1.0f, 1.0f));
        output.writeSavableArrayList(children, "children", null);
    }
Sets the local bind transform of the bone.
Call setBindingPose() after all of the bones' bind transforms are set to save them.

@param translation the desired bind translation (not null, unaffected)
@param rotation the desired bind rotation (not null, unaffected)
@param scale the desired bind scale (unaffected) or null for no scaling
jme3-core/src/main/java/com/jme3/animation/Bone.java