Beispiel #1
0
 public Model(string name, RenderDataSource renderDataSource, Matrix transform, int streamOffset, int elementCount, int indexOffset, int indicesCount)
 {
     this.name = name;
     this.renderDataSource = renderDataSource;
     this.transform = transform;
     this.streamOffset = streamOffset; // Unsure what these are for, vertex stream should not be split up!
     this.elementCount = elementCount; //
     this.indexOffset = indexOffset;
     this.indicesCount = indicesCount;
 }
Beispiel #2
0
 public Model(string name, RenderDataSource renderDataSource, Matrix transform, int streamOffset, int elementCount, int indexOffset, int indicesCount)
 {
     this.name             = name;
     this.renderDataSource = renderDataSource;
     this.transform        = transform;
     this.streamOffset     = streamOffset;         // Unsure what these are for, vertex stream should not be split up!
     this.elementCount     = elementCount;         //
     this.indexOffset      = indexOffset;
     this.indicesCount     = indicesCount;
 }