HalfVector2 Constructor (Vector2)

Initializes a new instance of the HalfVector2 structure.

Syntax

'Declaration
Public Sub New ( _
         vector As Vector2 _
)
public HalfVector2 (
         Vector2 vector
)
public:
HalfVector2(
         Vector2 vector
)

Parameters

  • vector
    Type: Vector2
    A vector containing the initial values for the components of the HalfVector2 structure.

Requirements

Namespace: Microsoft.Xna.Framework.Graphics.PackedVector

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

HalfVector2 Structure
HalfVector2 Members
Microsoft.Xna.Framework.Graphics.PackedVector Namespace

Platforms

Windows Phone