OGRE-Next
3.0.0
Object-Oriented Graphics Rendering Engine
|
This struct allows a single comparison of result data no matter what the type. More...
#include <OgreSceneQuery.h>
Public Member Functions | |
bool | operator< (const RaySceneQueryResultEntry &rhs) const |
Comparison operator for sorting. More... | |
Public Attributes | |
Real | distance |
Distance along the ray. More... | |
MovableObject * | movable |
The movable, or NULL if this is not a movable result. More... | |
SceneQuery::WorldFragment * | worldFragment |
The world fragment, or NULL if this is not a fragment result. More... | |
This struct allows a single comparison of result data no matter what the type.
|
inline |
Comparison operator for sorting.
References distance.
Real Ogre::RaySceneQueryResultEntry::distance |
Distance along the ray.
Referenced by operator<().
MovableObject* Ogre::RaySceneQueryResultEntry::movable |
The movable, or NULL if this is not a movable result.
SceneQuery::WorldFragment* Ogre::RaySceneQueryResultEntry::worldFragment |
The world fragment, or NULL if this is not a fragment result.