Vector2 Constructor (Single)

Creates a new instance of Vector2.

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

public Vector2 (
         float value
)

Parameters

value
Value to initialize both components to.

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions

ADD
Show: