C# Класс SFML.Graphics.Vertex

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Color Color
Position Vector2f
TexCoords Vector2f

Открытые методы

Метод Описание
ToString ( ) : string

Provide a string describing the object

Vertex ( Vector2f position ) : System.Runtime.InteropServices

Construct the vertex from its position The vertex color is white and texture coordinates are (0, 0).

Vertex ( Vector2f position, Color color ) : System.Runtime.InteropServices

Construct the vertex from its position and color The texture coordinates are (0, 0).

Vertex ( Vector2f position, Color color, Vector2f texCoords ) : System.Runtime.InteropServices

Construct the vertex from its position, color and texture coordinates

Vertex ( Vector2f position, Vector2f texCoords ) : System.Runtime.InteropServices

Construct the vertex from its position and texture coordinates The vertex color is white.

Описание методов

ToString() публичный Метод

Provide a string describing the object
public ToString ( ) : string
Результат string

Vertex() публичный Метод

Construct the vertex from its position The vertex color is white and texture coordinates are (0, 0).
public Vertex ( Vector2f position ) : System.Runtime.InteropServices
position Vector2f Vertex position
Результат System.Runtime.InteropServices

Vertex() публичный Метод

Construct the vertex from its position and color The texture coordinates are (0, 0).
public Vertex ( Vector2f position, Color color ) : System.Runtime.InteropServices
position Vector2f Vertex position
color Color Vertex color
Результат System.Runtime.InteropServices

Vertex() публичный Метод

Construct the vertex from its position, color and texture coordinates
public Vertex ( Vector2f position, Color color, Vector2f texCoords ) : System.Runtime.InteropServices
position Vector2f Vertex position
color Color Vertex color
texCoords Vector2f Vertex texture coordinates
Результат System.Runtime.InteropServices

Vertex() публичный Метод

Construct the vertex from its position and texture coordinates The vertex color is white.
public Vertex ( Vector2f position, Vector2f texCoords ) : System.Runtime.InteropServices
position Vector2f Vertex position
texCoords Vector2f Vertex texture coordinates
Результат System.Runtime.InteropServices

Описание свойств

Color публичное свойство

Color of the vertex
public Color Color
Результат Color

Position публичное свойство

2D position of the vertex
public Vector2f Position
Результат Vector2f

TexCoords публичное свойство

Coordinates of the texture's pixel to map to the vertex
public Vector2f TexCoords
Результат Vector2f