SO3Engine
|
SO3::STerrain Class Reference
#include <SO3Terrain.h>
Inheritance diagram for SO3::STerrain:
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 |
Detailed Description
Definition at line 41 of file SO3Terrain.h.
Constructor & Destructor Documentation
◆ STerrain()
SO3::STerrain::STerrain | ( | SScene * | scene, |
const std::string & | resName | ||
) |
Definition at line 41 of file SO3Terrain.cpp.
◆ ~STerrain()
SO3::STerrain::~STerrain | ( | ) |
Destructor
Definition at line 69 of file SO3Terrain.cpp.
Member Function Documentation
◆ DefineHeightMap()
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.
◆ GetParentScene()
SScene * SO3::STerrain::GetParentScene | ( | ) |
Definition at line 81 of file SO3Terrain.cpp.
◆ UpdateLight()
void SO3::STerrain::UpdateLight | ( | Ogre::ColourValue | ambColor, |
Ogre::ColourValue | sunColor, | ||
Ogre::Vector3 | sunDir | ||
) |
Definition at line 171 of file SO3Terrain.cpp.
Member Data Documentation
◆ mGlobals
|
protected |
Definition at line 68 of file SO3Terrain.h.
◆ mResourceGroup
|
protected |
Definition at line 69 of file SO3Terrain.h.
◆ mScene
|
protected |
Definition at line 66 of file SO3Terrain.h.
◆ mTerrain
|
protected |
Definition at line 67 of file SO3Terrain.h.
The documentation for this class was generated from the following files:
- include/SO3SceneGraph/SO3Terrain.h
- src/SO3SceneGraph/SO3Terrain.cpp
Generated by 1.9.8