Remove Skybox

Hi,
How to remove the skybox from rootNode?

And one thing, which is confusing me is, when we detach something from the rootNode, does it removes the node completely from memory or it is just removed from rendering queue?

Thanks in advance

If you hold a reference to something removed… then it stays around. If you don’t hold a reference to something removed then it gets garbage collected eventually. Standard Java stuff.

To remove the sky box, you detach it. If you want more specific help then you may need to show more specific code.

I got it. Thank you for the reply.