Свойство | Тип | Описание | |
---|---|---|---|
X | float | ||
Y | float |
Метод | Описание | |
---|---|---|
Vec2 ( Vector2f vec ) : System.Runtime.InteropServices |
Construct the Vec2 from a standard SFML Vector2f
|
|
Vec2 ( float x, float y ) : System.Runtime.InteropServices |
Construct the Vec2 from its coordinates
|
public Vec2 ( Vector2f vec ) : System.Runtime.InteropServices | ||
vec | Vector2f | A standard SFML 2D vector |
Результат | System.Runtime.InteropServices |
public Vec2 ( float x, float y ) : System.Runtime.InteropServices | ||
x | float | X coordinate |
y | float | Y coordinate |
Результат | System.Runtime.InteropServices |