Vector2 Constructor (Single)
Creates a new instance of Vector2.
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public Vector2 (
float value
)
Parameters
- value
Value to initialize both components to.
See Also
Reference
Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista