Windows apps
Collapse the table of content
Expand the table of content

Vector2 Constructor (Single)

Creates a new Vector2 object whose two elements have the same value.

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

public:
Vector2(
	float value
)

Parameters

value
Type: System::Single

The value to assign to both elements.

Show:
© 2017 Microsoft