Editare

Partajați prin


Quaternion.Equality(Quaternion, Quaternion) Operator

Definition

Returns a value that indicates whether two quaternions are equal.

public:
 static bool operator ==(System::Numerics::Quaternion value1, System::Numerics::Quaternion value2);
public static bool operator == (System.Numerics.Quaternion value1, System.Numerics.Quaternion value2);
static member ( = ) : System.Numerics.Quaternion * System.Numerics.Quaternion -> bool
Public Shared Operator == (value1 As Quaternion, value2 As Quaternion) As Boolean

Parameters

value1
Quaternion

The first quaternion to compare.

value2
Quaternion

The second quaternion to compare.

Returns

true if the two quaternions are equal; otherwise, false.

Remarks

Two quaternions are equal if each of their corresponding components is equal.

The Equality method defines the operation of the equality operator for Quaternion objects.

Applies to