generating an event
generating an event
How can i generate an event ad put it in the event queue?
ru guo ni yao ai, ni jiang bu hui shi qu
-
Gorgon Zola
- Posts: 118
- Joined: Thu Sep 18, 2003 10:05 pm
- Location: switzerland
hi regerdv
don't know if this is what you're looking for, so...
posts an event to the active camera:
posting gui events:
posting to your own eventreceiver:
for possible events please consult the irrlicht source file "include/IEventReceiver.h"
I hope that helps
Gorgon
don't know if this is what you're looking for, so...
posts an event to the active camera:
Code: Select all
scenemanager->postEventFromUser(theEvent);
Code: Select all
guienvironment->postEventFromUser(theEvent)
Code: Select all
receiver->OnEvent(theEvent);
I hope that helps
Gorgon