@Override
    public void write(JmeExporter e) throws IOException {
        super.write(e);
        OutputCapsule capsule = e.getCapsule(this);
        capsule.write(wrapS, "wrapS", WrapMode.EdgeClamp);
        capsule.write(wrapT, "wrapT", WrapMode.EdgeClamp);
        capsule.write(wrapR, "wrapR", WrapMode.EdgeClamp);
    }
<code>getWrap</code> returns the wrap mode for a given coordinate axis
on this texture.

@param axis
           the axis to return for
@return the wrap mode of the texture.
@throws IllegalArgumentException
            if axis is null
jme3-core/src/main/java/com/jme3/texture/Texture3D.java