Arnold Engine
 
Loading...
Searching...
No Matches
AE::Events::MouseScrolledEvent Class Reference

Event triggered when the mouse wheel is scrolled. More...

#include <MouseEvent.h>

Inheritance diagram for AE::Events::MouseScrolledEvent:
AE::Events::Event

Public Member Functions

 MouseScrolledEvent (float xOffset, float yOffset)
 
float GetXOffset () const
 
float GetYOffset () const
 
std::string ToString () const override
 
- Public Member Functions inherited from AE::Events::Event
virtual EventType GetEventType () const =0
 
virtual const char * GetName () const =0
 
virtual int GetCategoryFlags () const =0
 
bool IsInCategory (EventCategory category)
 

Additional Inherited Members

- Public Attributes inherited from AE::Events::Event
bool Handled = false
 

Detailed Description

Event triggered when the mouse wheel is scrolled.

Tracks both vertical and horizontal scroll movements. Provides offset values for both X and Y scroll directions.

Member Function Documentation

◆ ToString()

std::string AE::Events::MouseScrolledEvent::ToString ( ) const
inlineoverridevirtual

Reimplemented from AE::Events::Event.


The documentation for this class was generated from the following file: