Beispiel #1
0
 public static VertexPosColTex From(Vector4 pos, Color color, TextureCoordinate coord)
 {
     return(new VertexPosColTex(pos, color, coord));
 }
Beispiel #2
0
 public VertexPosColTex(Vector4 position, Color4 color, TextureCoordinate textureCoordinate)
 {
     Position          = position;
     Color             = color;
     TextureCoordinate = textureCoordinate;
 }
Beispiel #3
0
 public static VertexPosColTex From(Vector4 pos, TextureCoordinate coord)
 {
     return(From(pos, Primitives.Color.White, coord));
 }
Beispiel #4
0
 public VertexPosColTex(Vector4 position, Color color, TextureCoordinate textureCoordinate)
     : this(position, color.ToColor4(), textureCoordinate)
 {
 }
 public static VertexPosColTex From(Vector4 pos, Color color, TextureCoordinate coord)
 {
     return new VertexPosColTex(pos, color, coord);
 }
 public static VertexPosColTex From(Vector4 pos, TextureCoordinate coord)
 {
     return From(pos, Primitives.Color.White, coord);
 }
 public VertexPosColTex(Vector4 position, Color4 color, TextureCoordinate textureCoordinate)
 {
     Position = position;
     Color = color;
     TextureCoordinate = textureCoordinate;
 }
 public VertexPosColTex(Vector4 position, Color color, TextureCoordinate textureCoordinate)
     : this(position, color.ToColor4(), textureCoordinate)
 {
 }