Class that allows listening in on the various stages of SceneManager processing, so that custom behaviour can be implemented from outside.
More...
#include <OgreSceneManager.h>
Class that allows listening in on the various stages of SceneManager processing, so that custom behaviour can be implemented from outside.
◆ Listener()
Ogre::SceneManager::Listener::Listener |
( |
| ) |
|
|
inline |
◆ ~Listener()
virtual Ogre::SceneManager::Listener::~Listener |
( |
| ) |
|
|
inlinevirtual |
◆ preUpdateSceneGraph()
Called prior to updating the scene graph in this SceneManager.
This is called before updating the scene graph for a camera.
- Parameters
-
source | The SceneManager instance raising this event. |
camera | The camera being updated. |
◆ postUpdateSceneGraph()
Called after updating the scene graph in this SceneManager.
This is called after updating the scene graph for a camera.
- Parameters
-
source | The SceneManager instance raising this event. |
camera | The camera being updated. |
◆ preFindVisibleObjects()
Called prior to searching for visible objects in this SceneManager.
Note that the render queue at this stage will be full of the last render's contents and will be cleared after this method is called.
- Parameters
-
source | The SceneManager instance raising this event. |
irs | The stage of illumination being dealt with. IRS_NONE for a regular render, IRS_RENDER_TO_TEXTURE for a shadow caster render. |
v | The viewport being updated. You can get the camera from here. |
Reimplemented in Ogre::Terrain.
◆ postFindVisibleObjects()
Called after searching for visible objects in this SceneManager.
Note that the render queue at this stage will be full of the current scenes contents, ready for rendering. You may manually add renderables to this queue if you wish.
- Parameters
-
source | The SceneManager instance raising this event. |
irs | The stage of illumination being dealt with. IRS_NONE for a regular render, IRS_RENDER_TO_TEXTURE for a shadow caster render. |
v | The viewport being updated. You can get the camera from here. |
◆ sceneManagerDestroyed()
The documentation for this class was generated from the following file: