@Override
    public void write(JmeExporter e) throws IOException {
        super.write(e);
        OutputCapsule capsule = e.getCapsule(this);
        capsule.write(zSamples, "zSamples", 0);
        capsule.write(radialSamples, "radialSamples", 0);
        capsule.write(radius, "radius", 0);
        capsule.write(useEvenSlices, "useEvenSlices", false);
        capsule.write(textureMode, "textureMode", TextureMode.Original);
        capsule.write(interior, "interior", false);
    }
Changes the information of the sphere into the given values.

@param zSamples the number of zSamples of the sphere.
@param radialSamples the number of radial samples of the sphere.
@param radius the radius of the sphere.
jme3-core/src/main/java/com/jme3/scene/shape/Sphere.java