![]() |
OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Alternative listener class for dealing with RaySceneQuery. More...
#include <OgreSceneQuery.h>
Public Member Functions | |
virtual | ~RaySceneQueryListener () |
virtual bool | queryResult (MovableObject *obj, Real distance)=0 |
Called when a movable objects intersects the ray. | |
virtual bool | queryResult (SceneQuery::WorldFragment *fragment, Real distance)=0 |
Called when a world fragment is intersected by the ray. | |
Alternative listener class for dealing with RaySceneQuery.
Because the RaySceneQuery returns results in an extra bit of information, namely distance, the listener interface must be customised from the standard SceneQueryListener.
|
inlinevirtual |
|
pure virtual |
Called when a movable objects intersects the ray.
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::RaySceneQuery.
|
pure virtual |
Called when a world fragment is intersected by the ray.
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::RaySceneQuery.