Quaternion.Normalize Method (Microsoft.Xna.Framework)

Scales the quaternion magnitude to unit length.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public static Quaternion Normalize(
	Quaternion quaternion

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Microsoft.Xna.Framework.Quaternion
Source Quaternion.

Return Value

Type: Microsoft.Xna.Framework.Quaternion
The unit length quaternion.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop