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. | |
Public Attributes | |
Real | distance |
Distance along the ray. | |
MovableObject * | movable |
The movable, or NULL if this is not a movable result. | |
SceneQuery::WorldFragment * | worldFragment |
The world fragment, or NULL if this is not a fragment result. |
This struct allows a single comparison of result data no matter what the type.
Definition at line 357 of file OgreSceneQuery.h.
bool Ogre::RaySceneQueryResultEntry::operator< | ( | const RaySceneQueryResultEntry & | rhs | ) | const |
Comparison operator for sorting.
Definition at line 366 of file OgreSceneQuery.h.
References distance.
The movable, or NULL if this is not a movable result.
Definition at line 362 of file OgreSceneQuery.h.
The world fragment, or NULL if this is not a fragment result.
Definition at line 364 of file OgreSceneQuery.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Fri May 25 23:40:00 2012