Share via


Vector3.op_Equality(Vector3,Vector3) Method (Microsoft.DirectX)

Compares the current instance of a class to another instance to determine whether they are the same.

Definition

Visual Basic Public Shared Function op_Equality( _
    ByVal left As Vector3, _
    ByVal right As Vector3 _
) As Boolean
C# public static bool op_Equality(
    Vector3 left,
    Vector3 right
);
C++ public:
static bool operator==(
    Vector3 left,
    Vector3 right
);
JScript public static function op_Equality(
    left : Vector3,
    right : Vector3
) : boolean;

Parameters

left Microsoft.DirectX.Vector3
The Vector3 structure to the left of the equality operator.
right Microsoft.DirectX.Vector3
The Vector3 structure to the right of the equality operator.

Return Value

System.Boolean
Value that is true if the objects are the same, or false if they are different.