class
MouseMoveEventMouse move event.
Base classes
- class InputEvent
- Base for input events.
Public types
Public functions
- auto position() const -> Vector2i
- Position.
- auto relativePosition() const -> Vector2i
- Relative position.
- auto buttons() const -> Buttons
- Mouse buttons.
-
auto modifiers() const -> EmscriptenApplication::
Modifiers - Keyboard modifiers.
- auto event() const -> const EmscriptenMouseEvent&
- Underlying Emscripten event.
Enum documentation
Typedef documentation
typedef Containers:: EnumSet<Button> Magnum:: Platform:: EmscriptenApplication:: MouseMoveEvent:: Buttons
Set of mouse buttons.
Function documentation
Vector2i Magnum:: Platform:: EmscriptenApplication:: MouseMoveEvent:: relativePosition() const
Relative position.
Position relative to previous move event. Unlike Sdl2Application, HTML APIs don't provide relative position directly, so this is calculated explicitly as a delta from previous move event position.