Vector2.Equals Method (Microsoft.Xna.Framework)

Compares whether current instance is equal to specified Vector2.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.271)
  • C#
  • VB
  • F#
public sealed bool Equals(
	Vector2 other
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

other
Type: Microsoft.Xna.Framework.Vector2
The Vector2 to compare.

Return Value

Type: System.Boolean
true if the instances are equal; false otherwise.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web