Hello all,
I’m trying out Urho3D for a project, but some aspects of it are perplexing. The documentation seems fairly sparse and digging through source hasn’t produced a definitive answer. I’m attempting to use the RAII idiom in my design, which means that the destructor is responsible for the clean up of resources used by the class. My question is: does the Urho3D::Scene class destroy the nodes that are attached to it, or does it simply orphan them? And if they orphan them, is there an accepted way to completely destroy a Scene and all its children nodes that doesn’t involve iterating through the hierarchy and manually calling “delete” on those nodes?
I’d really like to avoid both iterating through the tree manually or maintaining a separate list of Node pointers to call delete on.
Thanks for your time.