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

Definição

Retorna um valor que indica se dois quatérnios são iguais.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``

Parâmetros

value1
Quaternion Quaternion Quaternion Quaternion

O primeiro quatérnio a ser comparado.The first quaternion to compare.

value2
Quaternion Quaternion Quaternion Quaternion

O segundo quatérnio a ser comparado.The second quaternion to compare.

Retornos

`true` se dois quatérnios forem iguais; caso contrário, `false`.`true` if the two quaternions are equal; otherwise, `false`.

Comentários

Dois quatérnios são iguais se cada um dos seus componentes correspondentes é igual.Two quaternions are equal if each of their corresponding components is equal.

O Equality método define a operação do operador de igualdade para Quaternion objetos.The Equality method defines the operation of the equality operator for Quaternion objects.