示例#1
0
 public VertexPositionColor(Vector3 position, Color color)
 {
     this.Position = position;
     Color         = color;
 }
 public VertexPositionColorTexture(Vector3 position, Color color, Vector2 textureCoordinate)
 {
     this.Position = position;
     this.color = color;
     this.TextureCoordinate = textureCoordinate;
 }
示例#3
0
 public VertexPositionColor(Vector3 position, Color color)
 {
     this.Position = position;
     this.Color    = (VertexElementColor)color;
 }
 public VertexPositionColorTexture(Vector3 position, Color color, Vector2 textureCoordinate)
 {
     this.Position          = position;
     this.color             = color;
     this.TextureCoordinate = textureCoordinate;
 }
示例#5
0
 public VertexPositionColor(Vector3 position, Color color)
 {
   this.Position = position;
   this.Color = (VertexElementColor) color;
 }
示例#6
0
 public VertexPositionColor(Vector3 position, Color color)
 {
     this.Position = position;
     this.color = color;
 }