OGRE  1.8
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::RaySceneQueryResultEntry Struct Reference

This struct allows a single comparison of result data no matter what the type. More...

#include <OgreSceneQuery.h>

+ Collaboration diagram for Ogre::RaySceneQueryResultEntry:

Public Member Functions

bool operator< (const RaySceneQueryResultEntry &rhs) const
 Comparison operator for sorting. More...
 

Public Attributes

Real distance
 Distance along the ray. More...
 
MovableObjectmovable
 The movable, or NULL if this is not a movable result. More...
 
SceneQuery::WorldFragmentworldFragment
 The world fragment, or NULL if this is not a fragment result. More...
 

Detailed Description

This struct allows a single comparison of result data no matter what the type.

Definition at line 358 of file OgreSceneQuery.h.

Member Function Documentation

bool Ogre::RaySceneQueryResultEntry::operator< ( const RaySceneQueryResultEntry rhs) const
inline

Comparison operator for sorting.

Definition at line 367 of file OgreSceneQuery.h.

References distance.

Member Data Documentation

Real Ogre::RaySceneQueryResultEntry::distance

Distance along the ray.

Definition at line 361 of file OgreSceneQuery.h.

Referenced by operator<().

MovableObject* Ogre::RaySceneQueryResultEntry::movable

The movable, or NULL if this is not a movable result.

Definition at line 363 of file OgreSceneQuery.h.

SceneQuery::WorldFragment* Ogre::RaySceneQueryResultEntry::worldFragment

The world fragment, or NULL if this is not a fragment result.

Definition at line 365 of file OgreSceneQuery.h.


The documentation for this struct was generated from the following file: