Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Helpers.Mesh.Vertex Class Reference
Inheritance diagram for pluginbase.Helpers.Mesh.Vertex:

Public Member Functions

 Vertex ()
 
 Vertex (Vertex v)
 
 Vertex (Vector3 coord, Vector2 texCoord, Vector3 normal, Rgba color)
 
 Vertex (Vector3 coord, Vector2 texCoord, Rgba color)
 
 Vertex (Vector3 coord, Vector2 texCoord)
 
 Vertex (Vector3 coord, Vector2 texCoord, Vector3 norm)
 
 Vertex (Vector3 coord, Vector3 norm)
 
 Vertex (Vector3 coord)
 
Vertex Clone ()
 

Static Public Member Functions

static Vertex Point (Vector3 coord, Vector2 texCoord)
 
static Vertex Point (Vector3 coord)
 

Public Attributes

Vector3 Coordinate
 
Vector3 Normal
 
Vector2 TexCoord
 
Rgba Color
 

Constructor & Destructor Documentation

pluginbase.Helpers.Mesh.Vertex.Vertex ( )
14 {}
pluginbase.Helpers.Mesh.Vertex.Vertex ( Vertex  v)
17  {
18  Coordinate = v.Coordinate;
19  Normal = v.Normal;
20  TexCoord = v.TexCoord;
21  Color = v.Color;
22  }
Vector3 Coordinate
Definition: Vertex.cs:9
Rgba Color
Definition: Vertex.cs:12
Vector2 TexCoord
Definition: Vertex.cs:11
Vector3 Normal
Definition: Vertex.cs:10
pluginbase.Helpers.Mesh.Vertex.Vertex ( Vector3  coord,
Vector2  texCoord,
Vector3  normal,
Rgba  color 
)
25  {
26  Coordinate = coord;
27  TexCoord = texCoord;
28  Normal = normal;
29  Color = color;
30  }
Vector3 Coordinate
Definition: Vertex.cs:9
Rgba Color
Definition: Vertex.cs:12
Vector2 TexCoord
Definition: Vertex.cs:11
Vector3 Normal
Definition: Vertex.cs:10
pluginbase.Helpers.Mesh.Vertex.Vertex ( Vector3  coord,
Vector2  texCoord,
Rgba  color 
)
33  :this(coord, texCoord, Vector3.Zero, color)
34  {}
pluginbase.Helpers.Mesh.Vertex.Vertex ( Vector3  coord,
Vector2  texCoord 
)
37  :this(coord, texCoord, Vector3.Zero, Rgba.White)
38  {}
Class the represents a floating-point color of red, green, blue, and alpha
Definition: Rgba.cs:11
static readonly Rgba White
White (1,1,1,1)
Definition: Rgba.cs:451
pluginbase.Helpers.Mesh.Vertex.Vertex ( Vector3  coord,
Vector2  texCoord,
Vector3  norm 
)
41  :this(coord, texCoord, norm, Rgba.White)
42  {}
Class the represents a floating-point color of red, green, blue, and alpha
Definition: Rgba.cs:11
static readonly Rgba White
White (1,1,1,1)
Definition: Rgba.cs:451
pluginbase.Helpers.Mesh.Vertex.Vertex ( Vector3  coord,
Vector3  norm 
)
45  :this(coord, Vector2.Zero, norm, Rgba.White)
46  {}
Class the represents a floating-point color of red, green, blue, and alpha
Definition: Rgba.cs:11
static readonly Rgba White
White (1,1,1,1)
Definition: Rgba.cs:451
pluginbase.Helpers.Mesh.Vertex.Vertex ( Vector3  coord)
49  :this(coord, Vector2.Zero, Vector3.Zero, Rgba.White)
50  {}
Class the represents a floating-point color of red, green, blue, and alpha
Definition: Rgba.cs:11
static readonly Rgba White
White (1,1,1,1)
Definition: Rgba.cs:451

Member Function Documentation

Vertex pluginbase.Helpers.Mesh.Vertex.Clone ( )
63  {
64  return new Vertex(this);
65  }
Vertex()
Definition: Vertex.cs:14
static Vertex pluginbase.Helpers.Mesh.Vertex.Point ( Vector3  coord,
Vector2  texCoord 
)
static
53  {
54  return new Vertex(coord, texCoord);
55  }
Vertex()
Definition: Vertex.cs:14
static Vertex pluginbase.Helpers.Mesh.Vertex.Point ( Vector3  coord)
static
58  {
59  return new Vertex(coord);
60  }
Vertex()
Definition: Vertex.cs:14

Member Data Documentation

Rgba pluginbase.Helpers.Mesh.Vertex.Color
Vector3 pluginbase.Helpers.Mesh.Vertex.Coordinate
Vector3 pluginbase.Helpers.Mesh.Vertex.Normal
Vector2 pluginbase.Helpers.Mesh.Vertex.TexCoord

The documentation for this class was generated from the following file: