GeometryGym.Ifc.IfcPresentationLayerWithStyle.setJSON C# (CSharp) Méthode

setJSON() protected méthode

protected setJSON ( Newtonsoft.Json.Linq.JObject obj, BaseClassIfc host, HashSet processed ) : void
obj Newtonsoft.Json.Linq.JObject
host BaseClassIfc
processed HashSet
Résultat void
        protected override void setJSON(JObject obj, BaseClassIfc host, HashSet<int> processed)
        {
            base.setJSON(obj, host, processed);
            obj["LayerOn"] = mLayerOn.ToString();
            obj["LayeyFrozen"] = mLayerFrozen.ToString();
            obj["LayerBlocked"] = mLayerBlocked.ToString();
            if (mLayerStyles.Count > 0)
                obj["LayerStyles"] = new JArray(LayerStyles.ConvertAll(x => x.getJson(this, processed)));
        }