次の方法で共有


Vector3.Normalize Method (Vector3)

Creates a unit vector from the specified vector. The result is a vector one unit in length pointing in the same direction as the original vector.

Syntax

'Declaration
Public Shared Function Normalize ( _
         value As Vector3 _
) As Vector3 
public static Vector3 Normalize (
         Vector3 value
)
public:
static Vector3 Normalize(
         Vector3 value
)

Parameters

Return Value

Type: Vector3
The created unit vector.

Requirements

Namespace: Microsoft.Xna.Framework

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

See Also

Reference

Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone