Property | Type | Description | |
---|---|---|---|
X | float | ||
Y | float |
Method | Description | |
---|---|---|
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 |
return | System.Runtime.InteropServices |
public Vec2 ( float x, float y ) : System.Runtime.InteropServices | ||
x | float | X coordinate |
y | float | Y coordinate |
return | System.Runtime.InteropServices |