Düzenle

Aracılığıyla paylaş


Vector2.Equals Method

Definition

Overloads

Equals(Object)

Indicates whether this instance and a specified object are equal.

Equals(Vector2)

Indicates whether the current vector is equal to another vector.

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

The object to compare to.

Returns

True if the instances are equal; false otherwise.

Applies to

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

A vector to compare with this vector.

Returns

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

Implements

Applies to