OGRE
14.3
Object-Oriented Graphics Rendering Engine
|
Alternative listener class for dealing with IntersectionSceneQuery. More...
#include <OgreSceneQuery.h>
Public Member Functions | |
virtual | ~IntersectionSceneQueryListener () |
virtual bool | queryResult (MovableObject *first, MovableObject *second)=0 |
Called when 2 movable objects intersect one another. More... | |
virtual bool | queryResult (MovableObject *movable, SceneQuery::WorldFragment *fragment)=0 |
Called when a movable intersects a world fragment. More... | |
Alternative listener class for dealing with IntersectionSceneQuery.
Because the IntersectionSceneQuery returns results in pairs, rather than singularly, the listener interface must be customised from the standard SceneQueryListener.
|
inlinevirtual |
|
pure virtual |
Called when 2 movable objects intersect one another.
As with SceneQueryListener, the implementor of this method should return 'true' if further results are required, or 'false' to abandon any further results from the current query.
Implemented in Ogre::IntersectionSceneQuery.
|
pure virtual |
Called when a movable intersects a world fragment.
As with SceneQueryListener, the implementor of this method should return 'true' if further results are required, or 'false' to abandon any further results from the current query.
Implemented in Ogre::IntersectionSceneQuery.