ImFusion SDK 4.3
LambdaEventHandler Class Reference
+ Inheritance diagram for LambdaEventHandler:

Public Member Functions

void reset ()
 
GUI::EventResult handleInputEvent (const GUI::InputEvent &event, const GUI::View &view) override
 This function is called by sources of input events in order to dispatch them to the handlers.
 

Public Attributes

std::function< GUI::EventResult(bool left, bool right, vec3 world, const GlView &view)> m_mouseEventHandler
 

Member Function Documentation

◆ handleInputEvent()

GUI::EventResult handleInputEvent ( const GUI::InputEvent & event,
const GUI::View & view )
overridevirtual

This function is called by sources of input events in order to dispatch them to the handlers.

In case there are more than one InputEventHandlers dispatchers are intended call this function consecutively until the first handler indicates to stop by returning a result where EventResult::stopPropagation() is true.

Implements ViewObject::EventHandler.


The documentation for this class was generated from the following file:
Search Tab / S to search, Esc to close