Vector2.Normalize Method (Vector2, Vector2)

Returns a normalized version of the specified vector.

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

public static void Normalize (
         ref Vector2 value,
         out Vector2 result
)

Parameters

value
Source vector.
result
[OutAttribute] Normalized vector.

Xbox 360, Windows XP SP2, Windows Vista

Show: