protected ObjectBase(ICore core) { Core = core; Scale = new VECTOR3D(1.0f, 1.0f, 1.0f); Selected = false; Visible = true; Renderable = true; core.AllObjects.Add(this); custom = new CustomCollection(); ScriptEnabled = core.Settings.ScriptEnabled; Script = core.Settings.Script; }
public CustomCollectionPropertyDescriptor(CustomCollection coll, int idx) : base("#" + idx.ToString(), null) { this.collection = coll; this.index = idx; }
public void SetCustomCollection(CustomCollection custColl) { for (var i = 0; i < custColl.Count; i++ ) { custom.Add(new Custom(custColl[i].Name, custColl[i].Value)); } }