|
Kanda Players 0.7.0
|
Collects player-related inputs from a keyboard. More...
Inheritance diagram for IKeyboardInputCollector:Public Member Functions | |
| float2 | GetMovement () |
| Gets the player movement vector. | |
| float2 | GetPanning () |
| Gets the player panning vector. | |
| float | GetSprint () |
| Gets the player sprint multiplier. | |
| bool | GetTeleportButtonPress () |
| Gets the teleport button press. | |
| bool | GetMenuButtonWasPressed () |
| Gets the menu button was pressed state in one frame. | |
| bool | GetGrabButtonWasPressed () |
| Gets the Q button pressed. | |
| bool | GetActivateButtonPress () |
| Gets the activate button pressed state. | |
Public Member Functions inherited from IInputCollector | |
| void | Enable () |
| Enable the input collector, prompting it to set up and enable appropriate input actions. | |
Additional Inherited Members | |
Properties inherited from IInputCollector | |
| bool | IsEnabled [get] |
| True if the input collector has been enabled. | |
Collects player-related inputs from a keyboard.
| bool GetActivateButtonPress | ( | ) |
| bool GetGrabButtonWasPressed | ( | ) |
| bool GetMenuButtonWasPressed | ( | ) |
| float2 GetMovement | ( | ) |
Gets the player movement vector.
Implemented in KeyboardInputCollector.
| float2 GetPanning | ( | ) |
Gets the player panning vector.
Implemented in KeyboardInputCollector.
| float GetSprint | ( | ) |
Gets the player sprint multiplier.
Implemented in KeyboardInputCollector.
| bool GetTeleportButtonPress | ( | ) |