Vector2.Equals Vector2.Equals Method

Definition

Overloads

Equals(Object) Equals(Object)

Indicates whether this instance and a specified object are equal.

Equals(Vector2) Equals(Vector2)

Indicates whether the current vector is equal to another vector.

Equals(Object) Equals(Object)

Indicates whether this instance and a specified object are equal.

public override bool Equals (object obj);
override this.Equals : obj -> bool

Parameters

obj
Object Object

The object to compare to.

Returns

True if the instances are equal; false otherwise.

Equals(Vector2) Equals(Vector2)

Indicates whether the current vector is equal to another vector.

public bool Equals (OpenTK.Vector2 other);
override this.Equals : OpenTK.Vector2 -> bool

Parameters

other
Vector2 Vector2

A vector to compare with this vector.

Returns

true if the current vector is equal to the vector parameter; otherwise, false.

Applies to