Kanda Players 0.7.0
|
Public Member Functions | |
MouseInputCollector (IScreen screen) | |
void | Enable () |
Enable the input collector, prompting it to set up and enable appropriate input actions. | |
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 | Dispose () |
Properties | |
bool | IsEnabled [get] |
True if the input collector has been enabled. | |
![]() |
|
inline |
Enable the input collector, prompting it to set up and enable appropriate input actions.
Implements IInputCollector.
|
inline |
Gets the mouse delta in screen degrees. This delta is the same regardless of the screen size.
Implements IMouseInputCollector.
|
inline |
Gets the left mouse button click state.
Implements IMouseInputCollector.
|
inline |
Gets the left mouse button was pressed state.
Implements IMouseInputCollector.
|
inline |
Gets the left mouse button release after pressed.
Implements IMouseInputCollector.
|
inline |
Gets the right mouse button click state.
Implements IMouseInputCollector.
|
inline |
Gets the right mouse button was pressed state.
Implements IMouseInputCollector.
|
inline |
Gets the right mouse button release after pressed.
Implements IMouseInputCollector.
|
get |
True if the input collector has been enabled.
Implements IInputCollector.