SO3Engine
|
#include <SO3Terrain.h>
Public Member Functions | |
STerrain (SScene *scene, const std::string &resName) | |
~STerrain () | |
bool | DefineHeightMap (std::string heightmap, Ogre::Real worldSize=10000.0f, Ogre::Real scale=600.0f, Ogre::uint16 minBatchsize=33, Ogre::uint16 maxBatchsize=65) |
SScene * | GetParentScene () |
void | UpdateLight (Ogre::ColourValue ambColor, Ogre::ColourValue sunColor, Ogre::Vector3 sunDir) |
Public Member Functions inherited from SO3::SData | |
SData (const std::string &dataName) | |
virtual | ~SData () |
std::string | GetName () const |
SUserObjectBindings & | GetUserObjectBindings () |
const SUserObjectBindings & | GetUserObjectBindings () const |
Protected Attributes | |
SScene * | mScene |
Ogre::Terrain * | mTerrain |
Ogre::TerrainGlobalOptions * | mGlobals |
std::string | mResourceGroup |
Protected Attributes inherited from SO3::SData | |
std::string | name |
Definition at line 41 of file SO3Terrain.h.
SO3::STerrain::STerrain | ( | SScene * | scene, |
const std::string & | resName | ||
) |
Definition at line 41 of file SO3Terrain.cpp.
SO3::STerrain::~STerrain | ( | ) |
Destructor
Definition at line 69 of file SO3Terrain.cpp.
bool SO3::STerrain::DefineHeightMap | ( | std::string | heightmap, |
Ogre::Real | worldSize = 10000.0f , |
||
Ogre::Real | scale = 600.0f , |
||
Ogre::uint16 | minBatchsize = 33 , |
||
Ogre::uint16 | maxBatchsize = 65 |
||
) |
Definition at line 86 of file SO3Terrain.cpp.
SScene * SO3::STerrain::GetParentScene | ( | ) |
Definition at line 81 of file SO3Terrain.cpp.
void SO3::STerrain::UpdateLight | ( | Ogre::ColourValue | ambColor, |
Ogre::ColourValue | sunColor, | ||
Ogre::Vector3 | sunDir | ||
) |
Definition at line 171 of file SO3Terrain.cpp.
|
protected |
Definition at line 68 of file SO3Terrain.h.
|
protected |
Definition at line 69 of file SO3Terrain.h.
|
protected |
Definition at line 66 of file SO3Terrain.h.
|
protected |
Definition at line 67 of file SO3Terrain.h.