Thank you for your questions.I want to know if the sent GUIEventAdapter::USER message has been processed completely.
Check whether GUIEventAdapter::USER has been processed completely. Should I count the USER by myself? 在2020年11月16日星期一 UTC+8 下午5:42:05<OpenSceneGraph Users> 写道: > On Mon, 16 Nov 2020 at 05:05, OpenSceneGraph Users < > [email protected]> wrote: > >> sorry,I mean what method get the number of GUIEventAdapter::USER in >> OSG? >> > > You'll need to get the osgGA::EventQueue which you are pushing the user > events to and then traverse through the events in the queue and check each > one. > > The application can have multiple EventQueue, one per osgViewer::Window > and one osgGA::Device, and one per osgViewer::View. The viewer > EventTraversal will collate these and then pass them on to the event > handlers and do the event traversal. > > I know nothing about your application so really can't provide any specific > advice. > > Robert. > -- You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/c9e71a63-108f-41c7-bcb6-c8f38a168ac2n%40googlegroups.com.
