@Override
    public void read(JmeImporter importer) throws IOException {
        super.read(importer);
        InputCapsule capsule = importer.getCapsule(this);
        p = capsule.readFloat("p", 0);
        q = capsule.readFloat("q", 0);
        radius = capsule.readFloat("radius", 0);
        width = capsule.readFloat("width", 0);
        steps = capsule.readInt("steps", 0);
        radialSamples = capsule.readInt("radialSamples", 0);
    }
Rebuilds this torus based on a new set of parameters.

@param p the x/z oscillation.
@param q the y oscillation.
@param radius the radius of the PQTorus.
@param width the width of the torus.
@param steps the steps along the torus.
@param radialSamples radial samples for the torus.
jme3-core/src/main/java/com/jme3/scene/shape/PQTorus.java