@Override
    public void write(JmeExporter ex) throws IOException {
        OutputCapsule capsule = ex.getCapsule(this);
        capsule.write(maxX, "maxX", 0f);
        capsule.write(minX, "minX", 0f);
        capsule.write(maxY, "maxY", 0f);
        capsule.write(minY, "minY", 0f);
        capsule.write(maxZ, "maxZ", 0f);
        capsule.write(minZ, "minZ", 0f);
    }
Serialize this preset, for example when saving to a J3O file.

@param ex exporter (not null)
@throws IOException from exporter
jme3-jbullet/src/main/java/com/jme3/bullet/animation/RangeOfMotion.java