Share via


Vector2.Vector2 Constructor

Initializes a new instance of the Vector2 structure.

Namespace: Microsoft.WindowsMobile.DirectX
Assembly: Microsoft.WindowsMobile.DirectX (in microsoft.windowsmobile.directx.dll)

Syntax

'Declaration
Public Sub New ( _
    valueX As Single, _
    valueY As Single _
)
'Usage
Dim valueX As Single
Dim valueY As Single

Dim instance As New Vector2(valueX, valueY)
public Vector2 (
    float valueX,
    float valueY
)
public:
Vector2 (
    float valueX, 
    float valueY
)
public Vector2 (
    float valueX, 
    float valueY
)
public function Vector2 (
    valueX : float, 
    valueY : float
)
Not applicable.

Parameters

  • valueX
    Initial X field value.
  • valueY
    Initial Y field value.

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.WindowsMobile.DirectX Namespace