Draw order...


04-03-2010 04:30:00

I am trying to figure out how to control draw order.. I assume there is some way to sort the different 'layers', but the LayerManager has no way to create new layers (or does it?). And it seems the only valid layer I can attach widgets to is the "Main" layer...

What am I missing here?


04-03-2010 08:18:10

By default there are several layers, that are described in core_layer.xml . Draw order of layer is same as order of layers in that file. Also, if you need more layers you are free to edit core_layer.xml , the only limitation is layers names used in skin. Read this for more details http://www.ogre3d.org/wiki/index.php/MyGUI_layers