OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
Class implementing TerrainAutoUpdateLod interface. More...
#include <OgreTerrainAutoUpdateLod.h>
Public Member Functions | |
void | autoUpdateLod (Terrain *terrain, bool synchronous, const Any &data) override |
Method to be called to change terrain's LOD level. More... | |
uint32 | getStrategyId () override |
Public Member Functions inherited from Ogre::TerrainAutoUpdateLod | |
virtual | ~TerrainAutoUpdateLod () |
Class implementing TerrainAutoUpdateLod interface.
It does LOD level increase/decrease according to camera's distance to Terrain.
|
overridevirtual |
Method to be called to change terrain's LOD level.
terrain | Instance of Terrain which LOD level is going to be changed |
synchronous | Run this as part of main thread or in background |
data | Any user specific data. |
Implements Ogre::TerrainAutoUpdateLod.
|
inlineoverridevirtual |
Implements Ogre::TerrainAutoUpdateLod.
References Ogre::BY_DISTANCE.