Vector2.Vector2(Single,Single) Constructor (Microsoft.DirectX)
Initializes a new instance of the Vector2 class.
Definition
Visual Basic Public Sub New( _
ByVal valueX As Single, _
ByVal valueY As Single _
)C# public Vector2(
float valueX,
float valueY
);C++ public:
Vector2(
float valueX,
float valueY
);JScript public function Vector2(
valueX : float,
valueY : float
);
Parameters
valueX System.Single
Initial X value.valueY System.Single
Initial Y value.