Event triggered on scrolling of mouse.
More...
#include <MouseEvent.h>
Event triggered on scrolling of mouse.
◆ MouseScrolledEvent()
Karma::MouseScrolledEvent::MouseScrolledEvent |
( |
float | xOffset, |
|
|
float | yOffset ) |
|
inline |
Default constructor.
- Since
- Karma 1.0.0
◆ GetXOffset()
float Karma::MouseScrolledEvent::GetXOffset |
( |
| ) |
const |
|
inline |
Getter for x offset.
- Since
- Karma 1.0.0
◆ GetYOffset()
float Karma::MouseScrolledEvent::GetYOffset |
( |
| ) |
const |
|
inline |
Getter for y offset.
- Since
- Karma 1.0.0
◆ ToString()
std::string Karma::MouseScrolledEvent::ToString |
( |
| ) |
const |
|
inlineoverridevirtual |
String representation of scrolling event.
Reimplemented from Karma::Event.
The documentation for this class was generated from the following file: