Share via


Quaternion.op_Equality(Quaternion,Quaternion) Method (Microsoft.DirectX)

Compares the current instance of a class to another instance to determine whether they are the same.

Definition

Visual Basic Public Shared Function op_Equality( _
    ByVal left As Quaternion, _
    ByVal right As Quaternion _
) As Boolean
C# public static bool op_Equality(
    Quaternion left,
    Quaternion right
);
C++ public:
static bool operator==(
    Quaternion left,
    Quaternion right
);
JScript public static function op_Equality(
    left : Quaternion,
    right : Quaternion
) : boolean;

Parameters

left Microsoft.DirectX.Quaternion
The Quaternion structure to the left of the equality operator.
right Microsoft.DirectX.Quaternion
The Quaternion structure to the right of the equality operator.

Return Value

System.Boolean
Value that is true if the objects are the same, or false if they are different.