A simple class for encapsulating parameters which are commonly needed by both TerrainSceneManager and TerrainZoneRenderable. More...
#include <OgreTerrainZoneRenderable.h>
Public Member Functions | |
TerrainZoneOptions () | |
Public Attributes | |
bool | coloured |
Whether vertex colours are enabled. More... | |
size_t | detailTile |
The number of times to repeat a detail texture over a tile. More... | |
bool | lit |
Whether dynamic lighting is enabled. More... | |
bool | lodMorph |
Whether LOD morphing is enabled. More... | |
Real | lodMorphStart |
At what point (parametric) should LOD morphing start. More... | |
size_t | maxGeoMipMapLevel |
The maximum terrain geo-mipmap level. More... | |
size_t | maxPixelError |
The maximum pixel error allowed. More... | |
size_t | pageSize |
The size of one edge of a terrain page, in vertices. More... | |
const Camera * | primaryCamera |
The primary camera, used for error metric calculation and page choice. More... | |
Vector3 | scale |
The scale factor to apply to the terrain (each vertex is 1 unscaled unit away from the next, and height is from 0 to 1) More... | |
MaterialPtr | terrainMaterial |
Pointer to the material to use to render the terrain. More... | |
size_t | tileSize |
The size of one edge of a terrain tile, in vertices. More... | |
size_t | tilesPerPage |
Precalculated number of tiles per page. More... | |
bool | useTriStrips |
Whether we should use triangle strips. More... | |
A simple class for encapsulating parameters which are commonly needed by both TerrainSceneManager and TerrainZoneRenderable.
Definition at line 83 of file OgreTerrainZoneRenderable.h.
|
inline |
Definition at line 86 of file OgreTerrainZoneRenderable.h.
References coloured, detailTile, lit, lodMorph, lodMorphStart, maxGeoMipMapLevel, maxPixelError, pageSize, primaryCamera, scale, Ogre::SharedPtr< T >::setNull(), terrainMaterial, tileSize, tilesPerPage, Ogre::Vector3::UNIT_SCALE, and useTriStrips.
bool Ogre::TerrainZoneOptions::coloured |
Whether vertex colours are enabled.
Definition at line 129 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
size_t Ogre::TerrainZoneOptions::detailTile |
The number of times to repeat a detail texture over a tile.
Definition at line 121 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
bool Ogre::TerrainZoneOptions::lit |
Whether dynamic lighting is enabled.
Definition at line 127 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
bool Ogre::TerrainZoneOptions::lodMorph |
Whether LOD morphing is enabled.
Definition at line 123 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
Real Ogre::TerrainZoneOptions::lodMorphStart |
At what point (parametric) should LOD morphing start.
Definition at line 125 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
size_t Ogre::TerrainZoneOptions::maxGeoMipMapLevel |
The maximum terrain geo-mipmap level.
Definition at line 112 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
size_t Ogre::TerrainZoneOptions::maxPixelError |
The maximum pixel error allowed.
Definition at line 117 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
size_t Ogre::TerrainZoneOptions::pageSize |
The size of one edge of a terrain page, in vertices.
Definition at line 102 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
const Camera* Ogre::TerrainZoneOptions::primaryCamera |
The primary camera, used for error metric calculation and page choice.
Definition at line 110 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
Vector3 Ogre::TerrainZoneOptions::scale |
The scale factor to apply to the terrain (each vertex is 1 unscaled unit away from the next, and height is from 0 to 1)
Definition at line 115 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
MaterialPtr Ogre::TerrainZoneOptions::terrainMaterial |
Pointer to the material to use to render the terrain.
Definition at line 131 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
size_t Ogre::TerrainZoneOptions::tileSize |
The size of one edge of a terrain tile, in vertices.
Definition at line 106 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
size_t Ogre::TerrainZoneOptions::tilesPerPage |
Precalculated number of tiles per page.
Definition at line 108 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().
bool Ogre::TerrainZoneOptions::useTriStrips |
Whether we should use triangle strips.
Definition at line 119 of file OgreTerrainZoneRenderable.h.
Referenced by TerrainZoneOptions().