|
libdonut 2.3.6
Application framework for cross-platform game development in C++20
|
#include <donut/events/Event.hpp>
Public Attributes | |
| std::uint32_t | mouseId |
| Unique identifier of the mouse instance. | |
| ivec2 | mousePosition |
| Current mouse position relative to the window. | |
| ivec2 | relativeMouseMotion |
| Position offset relative to the previous position. | |
Public Attributes inherited from donut::events::InputEventBase | |
| std::uint32_t | windowId |
| Unique identifier of the window that this event belongs to, if any. | |
Mouse Event base.
| std::uint32_t donut::events::MouseEventBase::mouseId |
Unique identifier of the mouse instance.
| ivec2 donut::events::MouseEventBase::mousePosition |
Current mouse position relative to the window.
| ivec2 donut::events::MouseEventBase::relativeMouseMotion |
Position offset relative to the previous position.