Ogre::TerrainGroup::RayResult Struct Reference

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...

## Detailed Description

Result from a terrain ray intersection with the terrain group.

Definition at line 377 of file OgreTerrainGroup.h.

## Constructor & Destructor Documentation

## RayResult()

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

Definition at line 386 of file OgreTerrainGroup.h.

## Member Data Documentation

## hit

bool Ogre::TerrainGroup::RayResult::hit

Whether an intersection occurred.

Definition at line 380 of file OgreTerrainGroup.h.

## position

Vector3 Ogre::TerrainGroup::RayResult::position

Position at which the intersection occurred.

Definition at line 384 of file OgreTerrainGroup.h.

## terrain

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

Which terrain instance was hit, if any.

Definition at line 382 of file OgreTerrainGroup.h.

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

- OgreTerrainGroup.h

Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.