Public Member Functions | Public Attributes

Ogre::TerrainGroup::RayResult Struct Reference

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

#include <OgreTerrainGroup.h>

List of all members.

Public Member Functions

 RayResult (bool _hit, Terrain *_terrain, const Vector3 &_pos)

Public Attributes

bool hit
 Whether an intersection occurred.
Terrainterrain
 Which terrain instance was hit, if any.
Vector3 position
 Position at which the intersection occurred.

Detailed Description

Result from a terrain ray intersection with the terrain group.

Definition at line 359 of file OgreTerrainGroup.h.


Constructor & Destructor Documentation

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

Definition at line 368 of file OgreTerrainGroup.h.


Member Data Documentation

Whether an intersection occurred.

Definition at line 362 of file OgreTerrainGroup.h.

Position at which the intersection occurred.

Definition at line 366 of file OgreTerrainGroup.h.

Which terrain instance was hit, if any.

Definition at line 364 of file OgreTerrainGroup.h.


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

Copyright © 2008 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Wed Nov 3 2010 19:25:04