Uredi

Deli z drugimi prek


Vector3.Equality(Vector3, Vector3) Operator

Definition

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