IrrLicht & Menus

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
Tom87@21
Posts: 6
Joined: Wed Nov 17, 2004 7:40 pm

IrrLicht & Menus

Post by Tom87@21 »

Hi !

I would like to know how can I create a context menu in my 3D scene.

I know that a function called addContextMenu exists, but when I tried it, nothing appeared...

Please, help me !
Time doesn't wait !
cartoonit
Posts: 286
Joined: Mon Nov 15, 2004 6:36 pm

Post by cartoonit »

Is it not part of the GUI, so you need to declare a pointer to the GUI, then do something like:
GUI->draw();
Inside your rendering loop... Look at the documentation for the GUI interface.
Post Reply