Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Vector2 Constructor (Single)
Collapse the table of content
Expand the table of content

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:
© 2015 Microsoft