GamePadThumbSticks.Right Property
Returns the position of the right Xbox 360 Controller stick (thumbstick) as a 2D vector.
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public Vector2 Right { get; }
Property Value
Two-dimensional vector that identifies the position of the right stick. Each axis is represented as a floating-point value from −1.0 to 1.0.
Remarks
Best Practice |
---|
You can check GameDefaults.MoveWithRightThumbStick to determine if the player prefers using the right or left thumbstick to control movement. |
See Also
Reference
GamePadThumbSticks Structure
GamePadThumbSticks Members
Microsoft.Xna.Framework.Input Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone