Sdílet prostřednictvím


Vector3.Normalize Method (Vector3)

Creates a unit vector from the specified vector.

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

Syntax

public static Vector3 Normalize (
         Vector3 value
)

Parameters

Return Value

The created unit vector.

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista