Property | Type | Description | |
---|---|---|---|
gestureRecognizer | |||
mouseClick | System.Boolean | ||
window |
Property | Type | Description | |
---|---|---|---|
OnPointerMoved | void | ||
OnPointerPressed | void | ||
OnPointerReleased | void |
Method | Description | |
---|---|---|
Acceleration ( ) : System.Vector3 |
Get the acceleration data from sensor input as of last update.
|
|
AccelerometerEnabled ( System.Boolean t ) : void |
Used to set the enable state of the accelerometer. When the accelerometer is disabled, the acceleration data returned is a zero vector.
|
|
InputManager ( |
Initialise the input system. Note that accelerometer input defaults to off.
|
|
IsKeyDown ( Keys key ) : System.Boolean |
Check if Key is pressed.
|
|
Jump ( ) : System.Boolean |
Helper method to determine if there is an input that should be interpreted as a "jump" command.
|
|
MouseDelta ( ) : System.Vector2 |
Get a non-normalised vector representing the direction of mouse movement since the last frame;
|
|
MouseDeltaEnabled ( System.Boolean t ) : void |
Enable capturing of mouse cursor and mouse delta data.
|
|
MousePosition ( ) : System.Vector2 |
Get the raw mouse position
|
|
MouseState ( ) : SharpDX.Toolkit.Input.MouseState |
Get the raw mouse state;
|
|
PauseRequest ( ) : bool |
Helper method to determine the player has requested a new pause or unpause event
|
|
PointerState ( ) : SharpDX.Toolkit.Input.PointerState |
Get the raw pointer state;
|
|
PrimaryDirection ( ) : System.Vector3 |
Helper method to return primary directional input vector
|
|
SecondaryDirection ( ) : System.Vector3 |
Helper method to return secondary directional input vector
|
|
SingleClick ( ) : System.Boolean | ||
Sprint ( ) : System.Boolean |
Helper method to determine if there is an input that should be interpreted as a "sprint" command.
|
|
Update ( SharpDX.Toolkit.GameTime gameTime ) : void |
Update the state of all desired input devices.
|
Method | Description | |
---|---|---|
OnPointerMoved ( |
||
OnPointerPressed ( |
||
OnPointerReleased ( |
public AccelerometerEnabled ( System.Boolean t ) : void | ||
t | System.Boolean | |
return | void |
public InputManager ( |
||
game | ||
return | System |
public IsKeyDown ( Keys key ) : System.Boolean | ||
key | Keys | |
return | System.Boolean |
public MouseDeltaEnabled ( System.Boolean t ) : void | ||
t | System.Boolean | |
return | void |
public MouseState ( ) : SharpDX.Toolkit.Input.MouseState | ||
return | SharpDX.Toolkit.Input.MouseState |
public PointerState ( ) : SharpDX.Toolkit.Input.PointerState | ||
return | SharpDX.Toolkit.Input.PointerState |
public SecondaryDirection ( ) : System.Vector3 | ||
return | System.Vector3 |
public Update ( SharpDX.Toolkit.GameTime gameTime ) : void | ||
gameTime | SharpDX.Toolkit.GameTime | |
return | void |
public GestureRecognizer,Windows.UI.Input gestureRecognizer | ||
return |