GamePadThumbSticks¶
-
struct
GamePadThumbSticks
: System.ValueType A struct that represents the current stick (thumbstick) states for the controller.
-
readonly Vector2
Left
Gets a value indicating the position of the left stick (thumbstick).
Value: A T:Microsoft.Xna.Framework.Vector2 indicating the current position of the left stick (thumbstick).
-
readonly Vector2
Right
Gets a value indicating the position of the right stick (thumbstick).
Value: A T:Microsoft.Xna.Framework.Vector2 indicating the current position of the right stick (thumbstick).
-
bool
op_Equality
(GamePadThumbSticks left, GamePadThumbSticks right) Determines whether two specified instances of T:Microsoft.Xna.Framework.Input.GamePadThumbSticks are equal.
Parameters: - left (Microsoft.Xna.Framework.Input.GamePadThumbSticks) – The first object to compare.
- right (Microsoft.Xna.Framework.Input.GamePadThumbSticks) – The second object to compare.
Returns: true if and are equal; otherwise, false.
-
bool
op_Inequality
(GamePadThumbSticks left, GamePadThumbSticks right) Determines whether two specified instances of T:Microsoft.Xna.Framework.Input.GamePadThumbSticks are not equal.
Parameters: - left (Microsoft.Xna.Framework.Input.GamePadThumbSticks) – The first object to compare.
- right (Microsoft.Xna.Framework.Input.GamePadThumbSticks) – 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.GamePadThumbSticks and has the same value as this instance; otherwise, false.
-
int
GetHashCode
() Serves as a hash function for a T:Microsoft.Xna.Framework.Input.GamePadThumbSticks object.
Returns: - A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a
hash table.
-
string
ToString
() Returns a T:System.String that represents the current T:Microsoft.Xna.Framework.Input.GamePadThumbSticks.
Returns: A T:System.String that represents the current T:Microsoft.Xna.Framework.Input.GamePadThumbSticks.
-
readonly Vector2