@Override
    public void write(JmeExporter e) throws IOException {
        OutputCapsule capsule = e.getCapsule(this);
        capsule.write(rot, "rot", Quaternion.IDENTITY);
        capsule.write(translation, "translation", Vector3f.ZERO);
        capsule.write(scale, "scale", Vector3f.UNIT_XYZ);
    }
Serializes to the argument, for example when saving to a J3O file. The
current instance is unaffected.

@param e (not null)
@throws IOException from the exporter
jme3-core/src/main/java/com/jme3/math/Transform.java