Vertex Structure
From SFML.Net
SFML.Net
| Vertex Structure |
Define a point with color and texture coordinates
Namespace: SFML.Graphics
Assembly: sfmlnet-graphics-2 (in sfmlnet-graphics-2.dll) Version: 2.2.0.0 (2.2.0)
The Vertex type exposes the following members.
| Name | Description | |
|---|---|---|
| Vertex(Vector2f) |
Construct the vertex from its position
The vertex color is white and texture coordinates are (0, 0).
| |
| Vertex(Vector2f, Color) |
Construct the vertex from its position and color
The texture coordinates are (0, 0).
| |
| Vertex(Vector2f, Vector2f) |
Construct the vertex from its position and texture coordinates
The vertex color is white.
| |
| Vertex(Vector2f, Color, Vector2f) |
Construct the vertex from its position, color and texture coordinates
|
| Name | Description | |
|---|---|---|
| Equals |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) | |
| GetHashCode |
Returns the hash code for this instance.
(Inherited from ValueType.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| ToString |
Provide a string describing the object
(Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| Color | Color of the vertex | |
| Position | 2D position of the vertex | |
| TexCoords | Coordinates of the texture's pixel to map to the vertex |