protected override void setJSON(JObject obj, BaseClassIfc host, HashSet <int> processed) { base.setJSON(obj, host, processed); obj["SweptArea"] = SweptArea.getJson(this, processed); if (mPosition > 0) { obj["Position"] = Position.getJson(this, processed); } }
protected override void setJSON(JObject obj, BaseClassIfc host, SetJsonOptions options) { base.setJSON(obj, host, options); obj["SweptArea"] = SweptArea.getJson(this, options); if (mPosition > 0) { obj["Position"] = Position.getJson(this, options); } }