MCPcopy Create free account
hub / github.com/OGRECave/ogre / _updateSceneGraph

Method _updateSceneGraph

OgreMain/src/OgreSceneManager.cpp:1269–1283  ·  view source on GitHub ↗

-----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1267
1268//-----------------------------------------------------------------------
1269void 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//-----------------------------------------------------------------------
1285void SceneManager::_findVisibleObjects(
1286 Camera* cam, VisibleObjectsBoundsInfo* visibleBounds, bool onlyShadowCasters)

Callers 1

SetUpMethod · 0.45

Calls 1

_updateMethod · 0.45

Tested by

no test coverage detected