AScrollEvent#
Pointing method scroll event.
Header: | #include <AUI/Event/AScrollEvent.h> |
CMake: | aui_link(my_target PUBLIC aui::views) |
Public fields and Signals#
kinetic#
bool kinetic
Whether the event simulated by kinetic scroll feature or not.
origin#
glm::vec2 origin
Where does the event occurred.
For mouse, it's the position of the cursor.
For touchscreen, it's the origin point where the scroll gesture started.
pointerIndex#
APointerIndex pointerIndex
Pointer index for touchscreen; LBUTTON for mouse cursor.