Empeld
Empeld plugin documentation.
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

◆ Vertex() [1/8]

pluginbase.Helpers.Mesh.Vertex.Vertex ( )
14 {}

◆ Vertex() [2/8]

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

◆ Vertex() [3/8]

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

◆ Vertex() [4/8]

pluginbase.Helpers.Mesh.Vertex.Vertex ( Vector3  coord,
Vector2  texCoord,
Rgba  color 
)
33  :this(coord, texCoord, Vector3.Zero, color)
34  {}

◆ Vertex() [5/8]

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

◆ Vertex() [6/8]

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

◆ Vertex() [7/8]

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

◆ Vertex() [8/8]

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

◆ Clone()

Vertex pluginbase.Helpers.Mesh.Vertex.Clone ( )
63  {
64  return new Vertex(this);
65  }
Vertex()
Definition: Vertex.cs:14

◆ Point() [1/2]

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

◆ Point() [2/2]

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

◆ Color

Rgba pluginbase.Helpers.Mesh.Vertex.Color

◆ Coordinate

Vector3 pluginbase.Helpers.Mesh.Vertex.Coordinate

◆ Normal

Vector3 pluginbase.Helpers.Mesh.Vertex.Normal

◆ TexCoord

Vector2 pluginbase.Helpers.Mesh.Vertex.TexCoord

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