@Override
    public void write(final JmeExporter ex) throws IOException {
        super.write(ex);
        OutputCapsule oc = ex.getCapsule(this);
        oc.write((Node)terrain, "terrain", null);
        oc.write(lodCalculator, "lodCalculator", null);
        oc.write(useRenderCamera, "useRenderCamera", false);
    }
Calculates the LOD of all child terrain patches.
jme3-terrain/src/main/java/com/jme3/terrain/geomipmap/TerrainLodControl.java