Class implementing TerrainAutoUpdateLod interface.
More...
#include <OgreTerrainAutoUpdateLod.h>
|
virtual void | autoUpdateLod (Terrain *terrain, bool synchronous, const Any &data) |
| Method to be called to change terrain's LOD level. More...
|
|
virtual uint32 | getStrategyId () |
|
void | operator delete (void *ptr) |
|
void | operator delete (void *ptr, void *) |
|
void | operator delete (void *ptr, const char *, int, const char *) |
|
void | operator delete[] (void *ptr) |
|
void | operator delete[] (void *ptr, const char *, int, const char *) |
|
void * | operator new (size_t sz, const char *file, int line, const char *func) |
| operator new, with debug line info More...
|
|
void * | operator new (size_t sz) |
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
| array operator new, with debug line info More...
|
|
void * | operator new[] (size_t sz) |
|
Class implementing TerrainAutoUpdateLod interface.
It does LOD level increase/decrease according to camera's distance to Terrain.
Definition at line 77 of file OgreTerrainAutoUpdateLod.h.
virtual void Ogre::TerrainAutoUpdateLodByDistance::autoUpdateLod |
( |
Terrain * |
terrain, |
|
|
bool |
synchronous, |
|
|
const Any & |
data |
|
) |
| |
|
virtual |
Method to be called to change terrain's LOD level.
- Parameters
-
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.
void Ogre::TerrainAutoUpdateLodByDistance::autoUpdateLodByDistance |
( |
Terrain * |
terrain, |
|
|
bool |
synchronous, |
|
|
const Real |
holdDistance |
|
) |
| |
|
protected |
Modifies Terrain's LOD level according to it's distance from camera.
- Parameters
-
holdDistance | How far ahead of terrain's LOD level change this LOD level should be loaded. |
virtual uint32 Ogre::TerrainAutoUpdateLodByDistance::getStrategyId |
( |
| ) |
|
|
inlinevirtual |
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
Traverse Terrain's QuadTree and calculate what LOD level is needed.
The documentation for this class was generated from the following file: