次の方法で共有


Vector2.op_Equality Method

Tests vectors for equality.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static bool op_Equality (
         Vector2 value1,
         Vector2 value2
)

Parameters

  • value1
    Source vector.
  • value2
    Source vector.

Return Value

true if the vectors are equal; false otherwise.

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista