Ejemplo n.º 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);
 }
Ejemplo n.º 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();
 }