Kanda Players 0.7.0
Loading...
Searching...
No Matches
IKeyboardInputCollector Interface Reference

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.
 

Detailed Description

Collects player-related inputs from a keyboard.

Member Function Documentation

◆ GetActivateButtonPress()

bool GetActivateButtonPress ( )

Gets the activate button pressed state.

Returns

Implemented in KeyboardInputCollector.

◆ GetGrabButtonWasPressed()

bool GetGrabButtonWasPressed ( )

Gets the Q button pressed.

Returns

Implemented in KeyboardInputCollector.

◆ GetMenuButtonWasPressed()

bool GetMenuButtonWasPressed ( )

Gets the menu button was pressed state in one frame.

Returns

Implemented in KeyboardInputCollector.

◆ GetMovement()

float2 GetMovement ( )

Gets the player movement vector.

Implemented in KeyboardInputCollector.

◆ GetPanning()

float2 GetPanning ( )

Gets the player panning vector.

Implemented in KeyboardInputCollector.

◆ GetSprint()

float GetSprint ( )

Gets the player sprint multiplier.

Implemented in KeyboardInputCollector.

◆ GetTeleportButtonPress()

bool GetTeleportButtonPress ( )

Gets the teleport button press.

Returns

Implemented in KeyboardInputCollector.


The documentation for this interface was generated from the following file: