Windows apps
Collapse the table of content
Expand the table of content

Quaternion::Equality Operator

Returns a value that indicates whether two quaternions are equal.

Namespace:  System.Numerics
Assembly:  System.Numerics.Vectors (in System.Numerics.Vectors.dll)

public:
static bool operator ==(
	Quaternion value1, 
	Quaternion value2
)

Parameters

value1
Type: System.Numerics::Quaternion

The first quaternion to compare.

value2
Type: System.Numerics::Quaternion

The second quaternion to compare.

Return Value

Type: System::Boolean
true if the two quaternions are equal; otherwise, false.

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.

Show:
© 2017 Microsoft