Quaternion.Dot(Quaternion, Quaternion) Method

Definition

Calculates the dot product of two quaternions.

public:
 static float Dot(System::Numerics::Quaternion quaternion1, System::Numerics::Quaternion quaternion2);
public static float Dot (System.Numerics.Quaternion quaternion1, System.Numerics.Quaternion quaternion2);
static member Dot : System.Numerics.Quaternion * System.Numerics.Quaternion -> single
Public Shared Function Dot (quaternion1 As Quaternion, quaternion2 As Quaternion) As Single

Parameters

quaternion1
Quaternion

The first quaternion.

quaternion2
Quaternion

The second quaternion.

Returns

Single

The dot product.

Applies to