32 #include <OgreMovableObject.h>
33 #include <OgreSceneNode.h>
34 #include <OgreIteratorWrapper.h>
45 Ogre::SceneNode::ObjectIterator obj_it = node->getAttachedObjectIterator();
46 while (obj_it.hasMoreElements())
48 Ogre::MovableObject* obj = obj_it.getNext();
49 obj->setVisibilityFlags(bits);
52 Ogre::SceneNode::ChildNodeIterator child_it = node->getChildIterator();
53 while (child_it.hasMoreElements())
55 Ogre::SceneNode* child =
dynamic_cast<Ogre::SceneNode*
>(child_it.getNext());