示例#1
0
 /// <summary>
 /// Adds the specified material (for collection initializers).
 /// </summary>
 /// <param name="material">The mesh.</param>
 public void Add(MaterialInstance material)
 {
     Materials.Add(material);
 }
示例#2
0
 /// <summary>
 /// Adds the specified material (for collection initializers).
 /// </summary>
 /// <param name="material">The mesh.</param>
 public void Add(MaterialInstance material)
 {
     Materials.Add(material);
 }
 protected PrimitiveProceduralModelBase()
 {
     MaterialInstance = new MaterialInstance();
 }