GamePadTriggers¶
-
struct
GamePadTriggers
: System.ValueType A struct that countains information on the left and the right trigger buttons.
-
readonly float
Left
Gets the position of the left trigger.
Value: A value from 0.0f to 1.0f representing left trigger.
-
readonly float
Right
Gets the position of the right trigger.
Value: A value from 0.0f to 1.0f representing right trigger.
-
bool
op_Equality
(GamePadTriggers left, GamePadTriggers right) Determines whether two specified instances of T:Microsoft.Xna.Framework.Input.GamePadTriggers are equal.
Parameters: - left (Microsoft.Xna.Framework.Input.GamePadTriggers) – The first object to compare.
- right (Microsoft.Xna.Framework.Input.GamePadTriggers) – The second object to compare.
Returns: true if and are equal; otherwise, false.
-
bool
op_Inequality
(GamePadTriggers left, GamePadTriggers right) Determines whether two specified instances of T:Microsoft.Xna.Framework.Input.GamePadTriggers are not equal.
Parameters: - left (Microsoft.Xna.Framework.Input.GamePadTriggers) – The first object to compare.
- right (Microsoft.Xna.Framework.Input.GamePadTriggers) – 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.GamePadTriggers and has the same value as this instance; otherwise, false.
-
int
GetHashCode
() Serves as a hash function for a T:Microsoft.Xna.Framework.Input.GamePadTriggers 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.GamePadTriggers.
Returns: A T:System.String that represents the current T:Microsoft.Xna.Framework.Input.GamePadTriggers.
-
readonly float