@Override
    public void write(JmeExporter ex) throws IOException {
        super.write(ex);
        OutputCapsule oc = ex.getCapsule(this);
        oc.write(trisPerPixel, "trisPerPixel", 1f);
        oc.write(distTolerance, "distTolerance", 1f);
        oc.write(numLevels, "numLevels", 0);
        oc.write(numTris, "numTris", null);
    }
Sets the triangles per pixel value. The
<code>LodControl</code> will use this value as an error metric to
determine which LOD level to use based on the geometry's area on the
screen.

@param trisPerPixel triangles per pixel
jme3-core/src/main/java/com/jme3/scene/control/LodControl.java