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)
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: