Vector2f Constructor

SFML.Net

Vector2f Constructor
Construct the vector from its coordinates

Namespace: SFML.System
Assembly: sfmlnet-system-2 (in sfmlnet-system-2.dll) Version: 2.2.0.0 (2.2.0)
Syntax
public Vector2f(
	float x,
	float y
)
Public Sub New ( 
	x As Single,
	y As Single
)
public:
Vector2f(
	float x, 
	float y
)
new : 
        x : float32 * 
        y : float32 -> Vector2f

Parameters

x
Type: SystemSingle
X coordinate
y
Type: SystemSingle
Y coordinate
See Also