/// <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(); }
/// <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; }
/// <summary> /// Creates the object constructor with empty geometry and material constructors /// </summary> public ObjectConstructor() { GeometryConstructor = new GeometryConstructor(); MaterialConstructor = new MaterialConstructor(); }