Vector2 Properties

Public Properties

Name Description
Public Property Static One Returns a Vector2 with both of its components set to one.
Public Property Static UnitX Returns the unit vector for the x-axis.
Public Property Static UnitY Returns the unit vector for the y-axis.
Public Property Static Zero Returns a Vector2 with all of its components set to zero.

See Also

Reference

Vector2 Structure
Microsoft.Xna.Framework Namespace