32 #include <OgreMovableObject.h> 33 #include <OgreSceneNode.h> 44 Ogre::SceneNode::ObjectIterator obj_it = node->getAttachedObjectIterator();
45 while (obj_it.hasMoreElements())
47 Ogre::MovableObject* obj = obj_it.getNext();
48 obj->setVisibilityFlags(bits);
51 Ogre::SceneNode::ChildNodeIterator child_it = node->getChildIterator();
52 while (child_it.hasMoreElements())
54 Ogre::SceneNode* child =
dynamic_cast<Ogre::SceneNode*
>(child_it.getNext());
void applyVisibilityBits(uint32_t bits, Ogre::SceneNode *node)