|
My Project
|
a meta height map is associated with a region in the global height map based terrain. More...
#include <MetaHeightmap.h>
Classes | |
| class | TerrainRegion |
| a region in global height map based terrain. More... | |
Public Member Functions | |
| MetaHeightmap (MetaWorldFragment *wf, const TerrainRegion &t, float groundThreshold) | |
| virtual void | updateDataGrid (DataGrid *dataGrid) |
| Adds this meta height map to the data grid. More... | |
| float | getFallofRange () const |
| Returns the fallof range of the MetaHeightmap. | |
| void | setFallofRange (float fallof) |
| Sets the fallof range. More... | |
| virtual CShapeAABB | getAABB () const |
| Checks for overlap with an AABB. | |
Public Member Functions inherited from ParaEngine::MetaObject | |
| MetaObject (MetaWorldFragment *wf, const Vector3 &position) | |
| MetaObject (MetaWorldFragment *wf) | |
| const Vector3 & | getPosition () const |
| Returns the position of the meta object. | |
| void | setPosition (const Vector3 &position) |
| Sets the position of the meta object. | |
| MetaWorldFragment * | getMetaWorldFragment () const |
| Returns the MetaWorldFragment* of the meta object. | |
Public Member Functions inherited from ParaEngine::CRefCounted | |
| void | addref () const |
| add reference count of the object. More... | |
| bool | delref () const |
| decrease reference count of the object. More... | |
| int | GetRefCount () const |
| get the reference count | |
| virtual int | Release () |
| CRefCounted * | AddToAutoReleasePool () |
| addref and releases the ownership sometime soon automatically (usually at the end of the current frame). More... | |
Protected Attributes | |
| TerrainRegion | mTerrainTile |
| float | mFallofRange |
| float | mGroundThreshold |
| float | mGradient |
Protected Attributes inherited from ParaEngine::MetaObject | |
| Vector3 | mPosition |
| MetaWorldFragment * | mMetaWorldFragment |
Protected Attributes inherited from ParaEngine::CRefCounted | |
| int | m_refcount |
a meta height map is associated with a region in the global height map based terrain.
| MetaHeightmap::MetaHeightmap | ( | MetaWorldFragment * | wf, |
| const TerrainRegion & | t, | ||
| float | groundThreshold | ||
| ) |
| wf | world fragment to which this meta object belongs. |
|
inline |
Sets the fallof range.
A fallof range less than the dataGrids grid size will make the algorithm fail.
|
virtual |
Adds this meta height map to the data grid.
Not sure about this...
Implements ParaEngine::MetaObject.
1.8.12