generating an event

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
rogerdv
Posts: 93
Joined: Wed Aug 27, 2003 4:20 pm

generating an event

Post by rogerdv »

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

Post by Gorgon Zola »

hi regerdv

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);
posting gui events:

Code: Select all

guienvironment->postEventFromUser(theEvent)
posting to your own eventreceiver:

Code: Select all

receiver->OnEvent(theEvent);
for possible events please consult the irrlicht source file "include/IEventReceiver.h"

I hope that helps
Gorgon
Post Reply