Quaternion.Equality(Quaternion, Quaternion) Quaternion.Equality(Quaternion, Quaternion) Quaternion.Equality(Quaternion, Quaternion) Quaternion.Equality(Quaternion, Quaternion) Operator

定義

傳回值,指出兩個四元數是否相等。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

參數

value1
Quaternion Quaternion Quaternion Quaternion

要比較的第一個四元數。The first quaternion to compare.

value2
Quaternion Quaternion Quaternion Quaternion

要比較的第二個四元數。The second quaternion to compare.

傳回

如果兩個四元數相等則為 true;否則為 falsetrue if the two quaternions are equal; otherwise, false.

備註

如果兩個四元數的對應元件相等,則兩者相等。Two quaternions are equal if each of their corresponding components is equal.

@No__t-0 方法會定義 Quaternion 物件的等號比較運算子的運算。The Equality method defines the operation of the equality operator for Quaternion objects.

適用於