Export (0) Print
Expand All

Vector2.Normalize Method

Creates a unit vector from the specified vector. The result is a vector one unit in length pointing in the same direction as the original vector.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method Normalize() Turns the current vector into a unit vector. The result is a vector one unit in length pointing in the same direction as the original vector.
Public method Static member Normalize(Vector2) Creates a unit vector from the specified vector. The result is a vector one unit in length pointing in the same direction as the original vector.
Public method Static member Normalize(Vector2, Vector2) Creates a unit vector from the specified vector, writing the result to a user-specified variable. The result is a vector one unit in length pointing in the same direction as the original vector.
Top

Community Additions

ADD
Show:
© 2014 Microsoft