Kanda Players 0.7.0
|
Collects player-related inputs from a mouse. More...
Public Member Functions | |
float2 | GetDeltaDegrees () |
Gets the mouse delta in screen degrees. This delta is the same regardless of the screen size. | |
bool | GetLeftButtonPress () |
Gets the left mouse button click state. | |
bool | GetLeftButtonWasPressed () |
Gets the left mouse button was pressed state. | |
bool | GetLeftButtonWasReleased () |
Gets the left mouse button release after pressed. | |
bool | GetRightButtonPress () |
Gets the right mouse button click state. | |
bool | GetRightButtonWasPressed () |
Gets the right mouse button was pressed state. | |
bool | GetRightButtonWasReleased () |
Gets the right mouse button release after pressed. | |
![]() | |
void | Enable () |
Enable the input collector, prompting it to set up and enable appropriate input actions. | |
Additional Inherited Members | |
![]() | |
bool | IsEnabled [get] |
True if the input collector has been enabled. | |
Collects player-related inputs from a mouse.
float2 GetDeltaDegrees | ( | ) |
Gets the mouse delta in screen degrees. This delta is the same regardless of the screen size.
Implemented in MouseInputCollector.
bool GetLeftButtonPress | ( | ) |
Gets the left mouse button click state.
Implemented in MouseInputCollector.
bool GetLeftButtonWasPressed | ( | ) |
Gets the left mouse button was pressed state.
Implemented in MouseInputCollector.
bool GetLeftButtonWasReleased | ( | ) |
Gets the left mouse button release after pressed.
Implemented in MouseInputCollector.
bool GetRightButtonPress | ( | ) |
Gets the right mouse button click state.
Implemented in MouseInputCollector.
bool GetRightButtonWasPressed | ( | ) |
Gets the right mouse button was pressed state.
Implemented in MouseInputCollector.
bool GetRightButtonWasReleased | ( | ) |
Gets the right mouse button release after pressed.
Implemented in MouseInputCollector.