fromJSON(json, parent) { // eslint-disable-line
        var terrain = new PerlinTerrain(
            json.userData.width,
            json.userData.depth,
            json.userData.widthSegments,
            json.userData.depthSegments,
            json.userData.quality
        );

        Object3DSerializer.prototype.fromJSON.call(this, json, terrain);

        return terrain;
    }
PerlinTerrainSerializer
@author tengge / https://github.com/tengge1