Result from a terrain ray intersection with the terrain group. More...
#include <OgreTerrainGroup.h>
Public Member Functions | |
RayResult (bool _hit, Terrain *_terrain, const Vector3 &_pos) | |
Public Attributes | |
bool | hit |
Whether an intersection occurred. More... | |
Vector3 | position |
Position at which the intersection occurred. More... | |
Terrain * | terrain |
Which terrain instance was hit, if any. More... | |
Result from a terrain ray intersection with the terrain group.
Definition at line 363 of file OgreTerrainGroup.h.
|
inline |
Definition at line 372 of file OgreTerrainGroup.h.
bool Ogre::TerrainGroup::RayResult::hit |
Whether an intersection occurred.
Definition at line 366 of file OgreTerrainGroup.h.
Vector3 Ogre::TerrainGroup::RayResult::position |
Position at which the intersection occurred.
Definition at line 370 of file OgreTerrainGroup.h.
Terrain* Ogre::TerrainGroup::RayResult::terrain |
Which terrain instance was hit, if any.
Definition at line 368 of file OgreTerrainGroup.h.