Vector3.Equality(Vector3, Vector3) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a value that indicates whether each pair of elements in two specified vectors is equal.
public:
static bool operator ==(System::Numerics::Vector3 left, System::Numerics::Vector3 right);
public static bool operator == (System.Numerics.Vector3 left, System.Numerics.Vector3 right);
static member ( = ) : System.Numerics.Vector3 * System.Numerics.Vector3 -> bool
Public Shared Operator == (left As Vector3, right As Vector3) As Boolean
Parameters
- left
- Vector3
The first vector to compare.
- right
- Vector3
The second vector to compare.
Returns
true
if left
and right
are equal; otherwise, false
.
Remarks
Two Vector3 objects are equal if each element in left
is equal to the corresponding element in right
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.