Quaternion.Dot Method (Microsoft.Xna.Framework)

Returns a dot product of two quaternions.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public static float Dot(
	Quaternion quaternion1, 
	Quaternion quaternion2

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Microsoft.Xna.Framework.Quaternion
The first quaternion.
Type: Microsoft.Xna.Framework.Quaternion
The second quaternion.

Return Value

Type: System.Single
The dot product of two quaternions.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop