Microsoft DirectX 9.0 SDK Update (October 2004)

Vector2.Vector2 Constructor

Language:

Note: This documentation is preliminary and is subject to change.

Initializes a new instance of the Vector2 class.

Definition

Visual Basic .NET Public Sub New( _
    ByVal valueX As Single, _
    ByVal valueY As Single _
)
C# public Vector2(
    float valueX,
    float valueY
);
Managed C++ public: Vector2(
    float valueX,
    float valueY
);
JScript .NET public function Vector2(
    valueX : float,
    valueY : float
);

Parameters

valueX System.Single. Initial X value.
valueY System.Single. Initial Y value.

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center