Page 1 of 1

IrrLicht & Menus

Posted: Sun Feb 06, 2005 1:27 pm
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 !

Posted: Sun Feb 06, 2005 1:55 pm
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.