Beispiel #1
0
 /// <summary>
 /// Creates the object constructor with the given geometry constructor
 /// </summary>
 /// <param name="geometryConstructor">Geometry constructor to initialize the object</param>
 public ObjectConstructor(GeometryConstructor geometryConstructor)
 {
     GeometryConstructor = geometryConstructor;
     MaterialConstructor = new MaterialConstructor();
 }
Beispiel #2
0
 /// <summary>
 /// Creates the object constructor with the given geometry and material constructors
 /// </summary>
 /// <param name="geometryConstructor">Geometry constructor to initialize the object</param>
 /// <param name="material">Material constructor to initialize the object</param>
 public ObjectConstructor(GeometryConstructor geometryConstructor, MaterialConstructor material) : this(geometryConstructor)
 {
     MaterialConstructor = material;
 }
Beispiel #3
0
 /// <summary>
 /// Creates the object constructor with empty geometry and material constructors
 /// </summary>
 public ObjectConstructor()
 {
     GeometryConstructor = new GeometryConstructor();
     MaterialConstructor = new MaterialConstructor();
 }