GamePadDPadΒΆ

struct GamePadDPad : System.ValueType
readonly ButtonState Down
readonly ButtonState Left
readonly ButtonState Right
readonly ButtonState Up
void set_Down(ButtonState value)
Parameters:
  • value (Microsoft.Xna.Framework.Input.ButtonState) –
void set_Left(ButtonState value)
Parameters:
  • value (Microsoft.Xna.Framework.Input.ButtonState) –
void set_Right(ButtonState value)
Parameters:
  • value (Microsoft.Xna.Framework.Input.ButtonState) –
void set_Up(ButtonState value)
Parameters:
  • value (Microsoft.Xna.Framework.Input.ButtonState) –
bool op_Equality(GamePadDPad left, GamePadDPad right)

Determines whether two specified instances of T:Microsoft.Xna.Framework.Input.GamePadDPad are equal.

Parameters:
  • left (Microsoft.Xna.Framework.Input.GamePadDPad) – The first object to compare.
  • right (Microsoft.Xna.Framework.Input.GamePadDPad) – The second object to compare.
Returns:

true if and are equal; otherwise, false.

bool op_Inequality(GamePadDPad left, GamePadDPad right)

Determines whether two specified instances of T:Microsoft.Xna.Framework.Input.GamePadDPad are not equal.

Parameters:
  • left (Microsoft.Xna.Framework.Input.GamePadDPad) – The first object to compare.
  • right (Microsoft.Xna.Framework.Input.GamePadDPad) – The second object to compare.
Returns:

true if and are not equal; otherwise, false.

bool Equals(System.Object obj)

Returns a value indicating whether this instance is equal to a specified object.

Parameters:
  • obj (System.Object) – An object to compare to this instance.
Returns:

true if is a T:Microsoft.Xna.Framework.Input.GamePadDPad and has the same value as this instance; otherwise, false.

int GetHashCode()