![]() |
OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
This optional class allows you to receive per-result callbacks from SceneQuery executions instead of a single set of consolidated results. More...
#include <OgreSceneQuery.h>
Public Member Functions | |
virtual | ~SceneQueryListener () |
virtual bool | queryResult (MovableObject *object)=0 |
Called when a MovableObject is returned by a query. | |
virtual bool | queryResult (SceneQuery::WorldFragment *fragment) |
Called when a WorldFragment is returned by a query. | |
This optional class allows you to receive per-result callbacks from SceneQuery executions instead of a single set of consolidated results.
You should override this with your own subclass. Note that certain query classes may refine this listener interface.
|
inlinevirtual |
|
pure virtual |
Called when a MovableObject is returned by a query.
The implementor should return 'true' to continue returning objects, or 'false' to abandon any further results from this query.
Implemented in Ogre::RegionSceneQuery.
|
inlinevirtual |
Called when a WorldFragment is returned by a query.
The implementor should return 'true' to continue returning objects, or 'false' to abandon any further results from this query.
Reimplemented in Ogre::RegionSceneQuery.