Dear all,
The question is in the title: How to change the rendering order in the guiNode?
To be more specific and give an example, imagine having 2 images on the guiNode. image1 is attached first and image2 is attached after. JME will render both images with image2 covering the image1 if there are on collision. But what if, after a certain action, I want to change that order and have the image1 overlapping the image2?
I could detach all and the reattached all childs taking note of there position in the node index but this seems to be complicated when the hub will be displayed with many text and images.
I also found this topic but it is related to Nifty and the only answer not Nifly related mentionned a “UIElement” that I could not found in the javadoc…
Many thanks in advance for your help.