Quaternion.Normalize Method (Quaternion)

Divides each component of the quaternion by the length of the quaternion.

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

Syntax

public static Quaternion Normalize (
         Quaternion quaternion
)

Parameters

  • quaternion
    Source quaternion.

Return Value

Normalized quaternion.

See Also

Reference

Quaternion Structure
Quaternion Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista