次の方法で共有


Vector2.Normalize Method (Vector2)

Creates a unit vector from the specified vector.

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

Syntax

public static Vector2 Normalize (
         Vector2 value
)

Parameters

Return Value

The created unit vector.

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista