-----------------------------------------------------------------------
| 1267 | |
| 1268 | //----------------------------------------------------------------------- |
| 1269 | void SceneManager::_updateSceneGraph(Camera* cam) |
| 1270 | { |
| 1271 | firePreUpdateSceneGraph(cam); |
| 1272 | |
| 1273 | // Process queued needUpdate calls |
| 1274 | Node::processQueuedUpdates(); |
| 1275 | |
| 1276 | // Cascade down the graph updating transforms & world bounds |
| 1277 | // In this implementation, just update from the root |
| 1278 | // Smarter SceneManager subclasses may choose to update only |
| 1279 | // certain scene graph branches |
| 1280 | getRootSceneNode()->_update(true, false); |
| 1281 | |
| 1282 | firePostUpdateSceneGraph(cam); |
| 1283 | } |
| 1284 | //----------------------------------------------------------------------- |
| 1285 | void SceneManager::_findVisibleObjects( |
| 1286 | Camera* cam, VisibleObjectsBoundsInfo* visibleBounds, bool onlyShadowCasters) |