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

Vector3::Equality Operator

Returns a value that indicates whether each pair of elements in two specified vectors is equal.

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

public:
static bool operator ==(
	Vector3 left, 
	Vector3 right
)

Parameters

left
Type: System.Numerics::Vector3

The first vector to compare.

right
Type: System.Numerics::Vector3

The second vector to compare.

Return Value

Type: System::Boolean
true if left and right are equal; otherwise, false.

Two Vector3 objects are equal if each element in left is equal to the corresponding element in right.

Show:
© 2017 Microsoft