![]() |
OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Listener which gets called back on MovableObject events. More...
#include <OgreMovableObject.h>
Public Member Functions | |
Listener (void) | |
virtual | ~Listener () |
virtual void | objectAttached (MovableObject *) |
MovableObject has been attached to a node. | |
virtual void | objectDestroyed (MovableObject *) |
MovableObject is being destroyed. | |
virtual void | objectDetached (MovableObject *) |
MovableObject has been detached from a node. | |
virtual void | objectMoved (MovableObject *) |
MovableObject has been moved. | |
virtual const LightList * | objectQueryLights (const MovableObject *) |
Called when the movable object needs to query a light list. | |
virtual bool | objectRendering (const MovableObject *, const Camera *) |
Called when the movable object of the camera to be used for rendering. | |
Listener which gets called back on MovableObject events.
|
inline |
|
inlinevirtual |
|
inlinevirtual |
MovableObject is being destroyed.
References Ogre::MovableObject::MovableObject().
|
inlinevirtual |
MovableObject has been attached to a node.
References Ogre::MovableObject::MovableObject().
|
inlinevirtual |
MovableObject has been detached from a node.
References Ogre::MovableObject::MovableObject().
|
inlinevirtual |
MovableObject has been moved.
References Ogre::MovableObject::MovableObject().
|
inlinevirtual |
Called when the movable object of the camera to be used for rendering.
References Ogre::MovableObject::MovableObject().
|
inlinevirtual |
Called when the movable object needs to query a light list.
If you want to customize light finding for this object, you should override this method and hook into MovableObject via MovableObject::setListener. Be aware that the default method caches results within a frame to prevent unnecessary recalculation, so if you override this you should provide your own caching to maintain performance.
References Ogre::MovableObject::MovableObject().