Bagikan melalui


Vector3.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)

Syntax

public void Normalize ()

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

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