|
| virtual std::array< bool, MouseButton::MouseButtonsCount > | GetState (float *x, float *y) const override |
| | Gets the state of the mouse, consisting of the pointer position in the screen and each of its buttons, defined in InputCommons.h in the MouseButtons enum.
|
◆ GetState()
| virtual std::array< bool, MouseButton::MouseButtonsCount > Mochi::Input::DummyMouseProvider::GetState |
( |
float * | x, |
|
|
float * | y ) const |
|
inlineoverridevirtual |
Gets the state of the mouse, consisting of the pointer position in the screen and each of its buttons, defined in InputCommons.h in the MouseButtons enum.
- Parameters
-
| x | Reference to a value that will be updated in the method with the X position. |
| y | Reference to a value that will be updated in the method with the Y position. |
- Returns
- An array of booleans for each mouse button, up to InputCommons.h in the MouseButtons enum.
Implements Mochi::Input::IMouseProvider.
The documentation for this class was generated from the following file: