Visualization LibraryA lightweight C++ OpenGL middleware for 2D/3D graphics |
[Home] [Tutorials] [All Classes] [Grouped Classes] |
#include <SceneManagerPortals.hpp>

Public Member Functions | |
| virtual void | operator() (const Camera *cam, SceneManagerPortals *psm, Sector *s, Portal *p)=0 |
| Callback. | |
Note: a callback can be called multiple times with the same Sector argument if a Sector is discovered multiple times through different portals. Using callbacks can be very useful to perform special actions upon sector discovery, like enabling/disabling animations, enabling/disabling a ActorKdTree scene manager or a Terrain scene manager to render the external environment etc.
| virtual void vl::Sector::VisibilityCallback::operator() | ( | const Camera * | cam, | |
| SceneManagerPortals * | psm, | |||
| Sector * | s, | |||
| Portal * | p | |||
| ) | [pure virtual] |