@Override
    public void write(JmeExporter e) throws IOException {
        super.write(e);
        OutputCapsule capsule = e.getCapsule(this);
        capsule.write(planes, "planes", 0);
        capsule.write(radialSamples, "radialSamples", 0);
        capsule.write(radius, "radius", 0);
        capsule.write(center, "center", Vector3f.ZERO);
    }
Rebuilds the dome with a new set of parameters.

@param center the new center of the dome.
@param planes the number of planes along the Z-axis.
@param radialSamples the new number of radial samples of the dome.
@param radius the new radius of the dome.
@param insideView should the dome be set up to be viewed from the inside looking out.
jme3-core/src/main/java/com/jme3/scene/shape/Dome.java