Esempio n. 1
0
 /// <summary>
 ///  Set on the Material Changer the Next or Before Material Item using a Name
 /// </summary>
 public void SetMaterial(string Name, bool Next)
 {
     if (MatChanger && !Locked)
     {
         MatChanger.SetMaterial(Name, Next);
         All_MaterialChangerIndex = MatChanger.AllIndex;     //Update the Indexes
     }
 }
Esempio n. 2
0
 /// <summary>
 /// Change  Material Item by its index  to the next/before material
 /// </summary>
 public void SetMaterial(int Index, bool next)
 {
     if (MatChanger && !Locked)
     {
         MatChanger.SetMaterial(Index, next);
         All_MaterialChangerIndex = MatChanger.AllIndex;     //Update the Indexes
     }
 }