[osg-users] Order of event handler evaluation, docs?

James Turner zakalawe at mac.com
Sun Jan 7 05:19:16 PST 2018


Hi,

Is there any documentation on the order in which osgGA::EventHandlers are invoked for a particular (mouse event)?

I’m working on code which has a mixture of handlers set on the Viewer (i.e global) but also others attached to geodes and drawables within the scene. I’d ideally like to have /some/ global handlers executed before the handlers on nodes are considered, but it seems as if by default the global handlers are all executed after them?

(I need to do some filtering of events in certain mouse modes, before the nodes get a chance to do their various things)

Again not necessarily looking for a complete explanation, just a point to any relevant docs.

Kind regards,
James



More information about the osg-users mailing list