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

Result from a terrain ray intersection with the terrain group. More...

#include <OgreTerrainGroup.h>

+ Collaboration diagram for Ogre::TerrainGroup::RayResult:

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...
 
Terrainterrain
 Which terrain instance was hit, if any. More...
 

Detailed Description

Result from a terrain ray intersection with the terrain group.

Definition at line 378 of file OgreTerrainGroup.h.

Constructor & Destructor Documentation

Ogre::TerrainGroup::RayResult::RayResult ( bool  _hit,
Terrain _terrain,
const Vector3 _pos 
)
inline

Definition at line 387 of file OgreTerrainGroup.h.

Member Data Documentation

bool Ogre::TerrainGroup::RayResult::hit

Whether an intersection occurred.

Definition at line 381 of file OgreTerrainGroup.h.

Vector3 Ogre::TerrainGroup::RayResult::position

Position at which the intersection occurred.

Definition at line 385 of file OgreTerrainGroup.h.

Terrain* Ogre::TerrainGroup::RayResult::terrain

Which terrain instance was hit, if any.

Definition at line 383 of file OgreTerrainGroup.h.


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