OGRE  1.10.11
Object-Oriented Graphics Rendering Engine
Ogre::LodConfig Struct Reference

#include <OgreLodConfig.h>

Classes

struct  Advanced
 

Public Types

typedef vector< LodLevel >::type LodLevelList
 Lod strategy to use. More...
 

Public Member Functions

 LodConfig (MeshPtr &_mesh, LodStrategy *_strategy=DistanceLodBoxStrategy::getSingletonPtr())
 Info about Lod levels. More...
 
 LodConfig ()
 
void createGeneratedLodLevel (Ogre::Real distance, Real reductionValue, LodLevel::VertexReductionMethod reductionMethod=LodLevel::VRM_PROPORTIONAL)
 
void createManualLodLevel (Ogre::Real distance, const String &manualMeshName)
 

Public Attributes

struct _OgreLodExport Ogre::LodConfig::Advanced advanced
 
LodLevelList levels
 
MeshPtr mesh
 
LodStrategystrategy
 The mesh which we want to reduce. More...
 

Member Typedef Documentation

Lod strategy to use.

Constructor & Destructor Documentation

Ogre::LodConfig::LodConfig ( MeshPtr _mesh,
LodStrategy _strategy = DistanceLodBoxStrategy::getSingletonPtr() 
)

Info about Lod levels.

Ogre::LodConfig::LodConfig ( )

Member Function Documentation

void Ogre::LodConfig::createManualLodLevel ( Ogre::Real  distance,
const String manualMeshName 
)
void Ogre::LodConfig::createGeneratedLodLevel ( Ogre::Real  distance,
Real  reductionValue,
LodLevel::VertexReductionMethod  reductionMethod = LodLevel::VRM_PROPORTIONAL 
)

Member Data Documentation

MeshPtr Ogre::LodConfig::mesh
LodStrategy* Ogre::LodConfig::strategy

The mesh which we want to reduce.

LodLevelList Ogre::LodConfig::levels
struct _OgreLodExport Ogre::LodConfig::Advanced Ogre::LodConfig::advanced

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