Example #1
0
 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;
 }
Example #3
0
 public CustomCollectionPropertyDescriptor(CustomCollection coll, int idx) :
     base("#" + idx.ToString(), null)
 {
     this.collection = coll;
     this.index      = idx;
 }
Example #4
0
 public void SetCustomCollection(CustomCollection custColl)
 {
     for (var i = 0; i < custColl.Count; i++ )
     {
         custom.Add(new Custom(custColl[i].Name, custColl[i].Value));
     }
 }