Code: Select all
class _OgreExport MovableObject : public ShadowCaster, public AnimableObject, public MovableAlloc
{
public:
/** Listener which gets called back on MovableObject events.
*/
class _OgreExport Listener
{
public:
Listener(void) {}
virtual ~Listener() {}
/** MovableObject is being destroyed */
virtual void objectDestroyed(MovableObject*) {}
/** MovableObject has been attached to a node */
virtual void objectAttached(MovableObject*) {}
/** MovableObject has been detached from a node */
virtual void objectDetached(MovableObject*) {}
/** MovableObject has been moved */
virtual void objectMoved(MovableObject*) {}
/** Called when the movable object of the camera to be used for rendering.
@return
true if allows queue for rendering, false otherwise.
*/
virtual bool objectRendering(const MovableObject*, const Camera*) { return true; }
/** Called when the movable object needs to query a light list.