protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
{
base.setJSON(obj, host, processed);
obj["MaterialLayers"] = new JArray(MaterialLayers.ConvertAll(x => x.getJson(this, processed)));
setAttribute(obj, "LayerSetName", Name);
setAttribute(obj, "Description", Description);
}