Vector4.Equals Metodo
Definizione
Overload
Equals(Vector4) |
Restituisce un valore che indica se questa istanza è uguale a un altro vettore.Returns a value that indicates whether this instance and another vector are equal. |
Equals(Object) |
Restituisce un valore che indica se questa istanza è uguale a un oggetto specificato.Returns a value that indicates whether this instance and a specified object are equal. |
Equals(Vector4)
Restituisce un valore che indica se questa istanza è uguale a un altro vettore.Returns a value that indicates whether this instance and another vector are equal.
public:
virtual bool Equals(System::Numerics::Vector4 other);
public bool Equals (System.Numerics.Vector4 other);
override this.Equals : System.Numerics.Vector4 -> bool
Public Function Equals (other As Vector4) As Boolean
Parametri
- other
- Vector4
L'altro vettore.The other vector.
Restituisce
true
se i due vettori sono uguali; in caso contrario, false
.true
if the two vectors are equal; otherwise, false
.
Implementazioni
Commenti
Due vettori sono uguali se X Y gli elementi,, Z e W sono uguali.Two vectors are equal if their X, Y, Z, and W elements are equal.
Si applica a
Equals(Object)
Restituisce un valore che indica se questa istanza è uguale a un oggetto specificato.Returns a value that indicates whether this instance and a specified object are equal.
public:
override bool Equals(System::Object ^ obj);
public override bool Equals (object obj);
public override bool Equals (object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean
Parametri
- obj
- Object
Oggetto da confrontare con l'istanza corrente.The object to compare with the current instance.
Restituisce
true
se l'istanza corrente è uguale a obj
; in caso contrario, false
.true
if the current instance and obj
are equal; otherwise, false
. Se obj
è null
, il metodo restituisce false
.If obj
is null
, the method returns false
.
Commenti
L'istanza corrente e obj
sono uguali se obj
è un Vector4 oggetto e i relativi elementi corrispondenti sono uguali.The current instance and obj
are equal if obj
is a Vector4 object and their corresponding elements are equal.