Vector2 Constructor (Single, Single)

Creates a vector whose elements have the specified values.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
Vector2(
	float x, 
	float y
)

Parameters

x
Type: System::Single

The value to assign to the X field.

y
Type: System::Single

The value to assign to the Y field.

Show: