#include <OgreTerrainPage.h>
Public Types | |
typedef std::vector< TerrainRenderable * > | TerrainRow |
typedef std::vector< TerrainRow > | Terrain2D |
Public Member Functions | |
TerrainPage (unsigned short numTiles) | |
The main constructor. | |
virtual | ~TerrainPage () |
Destructor, will organise the deletion of pages. | |
void | linkNeighbours (void) |
After TerrainRenderables have been populated, this method adds the neighbour links. | |
TerrainRenderable * | getTerrainTile (const Vector3 &pt) |
Returns the TerrainRenderable that contains the given pt. | |
void | setRenderQueue (RenderQueueGroupID qid) |
Sets the render queue group which the tiles should be rendered in. | |
Public Attributes | |
Terrain2D | tiles |
2-dimensional vector of tiles, pre-allocated to the correct size | |
unsigned short | tilesPerPage |
The number of tiles across a page. | |
SceneNode * | pageSceneNode |
The scene node to which all the tiles for this page are attached. |
Definition at line 47 of file OgreTerrainPage.h.
|
Definition at line 51 of file OgreTerrainPage.h. |
|
Definition at line 50 of file OgreTerrainPage.h. |
|
The main constructor.
|
|
Destructor, will organise the deletion of pages.
|
|
Returns the TerrainRenderable that contains the given pt. If no tile exists at the point, it returns 0; |
|
After TerrainRenderables have been populated, this method adds the neighbour links.
|
|
Sets the render queue group which the tiles should be rendered in.
|
|
The scene node to which all the tiles for this page are attached.
Definition at line 58 of file OgreTerrainPage.h. |
|
2-dimensional vector of tiles, pre-allocated to the correct size
Definition at line 54 of file OgreTerrainPage.h. |
|
The number of tiles across a page.
Definition at line 56 of file OgreTerrainPage.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Feb 12 13:06:25 2006