|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectSystem.ValueType
Microsoft.Xna.Framework.Input.GamePadTriggers
public final class GamePadTriggers
Structure that defines the position of the left and right triggers on an Xbox 360 Controller.
Field Summary | |
---|---|
float |
Left
Identifies the position of the left trigger on the Xbox 360 Controller. |
float |
Right
Identifies the position of the right trigger on the Xbox 360 Controller. |
Constructor Summary | |
---|---|
GamePadTriggers(float leftTrigger,
float rightTrigger)
Initializes a new instance of the GamePadTriggers class. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Returns a value that indicates whether the current instance is equal to a specified object. |
int |
hashCode()
Gets the hash code for this instance. |
java.lang.String |
toString()
Retrieves a string representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final float Left
public final float Right
Constructor Detail |
---|
public GamePadTriggers(float leftTrigger, float rightTrigger)
leftTrigger
- Left trigger value. This value is clamped between 0.0 and 1.0.rightTrigger
- Right trigger value. This value is clamped between 0.0 and 1.0.Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- Object with which to make the comparison.
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |