Otter
0.9.8.91
2d Game Development Framework based on SFML.Net
|
Class that represents a Vertex. Just a wrapper for an SFML Vertex. More...
Public Member Functions | |
override string | ToString () |
Vert (float x, float y, Color color, float u, float v) | |
Create a new Vert. More... | |
Vert (Vert copy) | |
Create a new Vert. More... | |
Vert () | |
Create a new white Vert at 0, 0. More... | |
Vert (float x, float y) | |
Create a new Vert. More... | |
Vert (float x, float y, float u, float v) | |
Create a new Vert. More... | |
Vert (float x, float y, Color color) | |
Create a new Vert. More... | |
Properties | |
Color | Color [get, set] |
The Color of the Vert. More... | |
float | X [get, set] |
The X position. More... | |
float | Y [get, set] |
The Y position. More... | |
Vector2 | Position [get, set] |
The X, Y position as a Vector2. More... | |
Vector2 | TexCoords [get, set] |
The X, Y position of the Texture as a Vector2. More... | |
float | U [get, set] |
The X position of the Texture. More... | |
float | V [get, set] |
The Y position of the Texture. More... | |
Class that represents a Vertex. Just a wrapper for an SFML Vertex.
Otter.Vert.Vert | ( | float | x, |
float | y, | ||
Color | color, | ||
float | u, | ||
float | v | ||
) |
Otter.Vert.Vert | ( | ) |
Create a new white Vert at 0, 0.
Otter.Vert.Vert | ( | float | x, |
float | y | ||
) |
Create a new Vert.
x | The X position. |
y | The Y position. |
Otter.Vert.Vert | ( | float | x, |
float | y, | ||
float | u, | ||
float | v | ||
) |
Otter.Vert.Vert | ( | float | x, |
float | y, | ||
Color | color | ||
) |
|
getset |
The X position of the Texture.
|
getset |
The Y position of the Texture.
|
getset |
The X position.
|
getset |
The Y position.