コード例 #1
0
 /// <summary>
 /// Constructs a VertexContent instance.
 /// </summary>
 internal VertexContent(GeometryContent geom)
 {
     positionIndices = new VertexChannel <int>("PositionIndices");
     positions       = new IndirectPositionCollection(geom, positionIndices);
     channels        = new VertexChannelCollection(this);
 }
コード例 #2
0
 /// <summary>
 /// Constructs a VertexContent instance.
 /// </summary>
 internal VertexContent()
 {
     channels        = new VertexChannelCollection(this);
     positionIndices = new VertexChannel <int>("PositionIndices");
     positions       = new IndirectPositionCollection();
 }