Vector2.Normalize Method ()

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.

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

public void Normalize ()

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions