#include <Sample_TempObstacles.h>
|
| | Sample_TempObstacles () |
| |
| virtual | ~Sample_TempObstacles () |
| |
| virtual void | handleSettings () |
| |
| virtual void | handleTools () |
| |
| virtual void | handleDebugMode () |
| |
| virtual void | handleRender () |
| |
| virtual void | handleRenderOverlay (double *proj, double *model, int *view) |
| |
| virtual void | handleMeshChanged (class InputGeom *geom) |
| |
| virtual bool | handleBuild () |
| |
| virtual void | handleUpdate (const float dt) |
| |
| void | getTilePos (const float *pos, int &tx, int &ty) |
| |
| void | renderCachedTile (const int tx, const int ty, const int type) |
| |
| void | renderCachedTileOverlay (const int tx, const int ty, double *proj, double *model, int *view) |
| |
| void | addTempObstacle (const float *pos) |
| |
| void | removeTempObstacle (const float *sp, const float *sq) |
| |
| void | clearAllTempObstacles () |
| |
| void | saveAll (const char *path) |
| |
| void | loadAll (const char *path) |
| |
| | Sample () |
| |
| virtual | ~Sample () |
| |
| void | setContext (BuildContext *ctx) |
| |
| void | setTool (SampleTool *tool) |
| |
| SampleToolState * | getToolState (int type) |
| |
| void | setToolState (int type, SampleToolState *s) |
| |
| SampleDebugDraw & | getDebugDraw () |
| |
| virtual void | handleClick (const float *s, const float *p, bool shift) |
| |
| virtual void | handleToggle () |
| |
| virtual void | handleStep () |
| |
| virtual void | collectSettings (struct BuildSettings &settings) |
| |
| virtual class InputGeom * | getInputGeom () |
| |
| virtual class dtNavMesh * | getNavMesh () |
| |
| virtual class dtNavMeshQuery * | getNavMeshQuery () |
| |
| virtual class dtCrowd * | getCrowd () |
| |
| virtual float | getAgentRadius () |
| |
| virtual float | getAgentHeight () |
| |
| virtual float | getAgentClimb () |
| |
| unsigned char | getNavMeshDrawFlags () const |
| |
| void | setNavMeshDrawFlags (unsigned char flags) |
| |
| void | updateToolStates (const float dt) |
| |
| void | initToolStates (Sample *sample) |
| |
| void | resetToolStates () |
| |
| void | renderToolStates () |
| |
| void | renderOverlayToolStates (double *proj, double *model, int *view) |
| |
| void | resetCommonSettings () |
| |
| void | handleCommonSettings () |
| |
◆ DrawMode
| Enumerator |
|---|
| DRAWMODE_NAVMESH | |
| DRAWMODE_NAVMESH_TRANS | |
| DRAWMODE_NAVMESH_BVTREE | |
| DRAWMODE_NAVMESH_NODES | |
| DRAWMODE_NAVMESH_PORTALS | |
| DRAWMODE_NAVMESH_INVIS | |
| DRAWMODE_MESH | |
| DRAWMODE_CACHE_BOUNDS | |
| MAX_DRAWMODE | |
◆ Sample_TempObstacles()
| Sample_TempObstacles::Sample_TempObstacles |
( |
| ) |
|
◆ ~Sample_TempObstacles()
| Sample_TempObstacles::~Sample_TempObstacles |
( |
| ) |
|
|
virtual |
◆ addTempObstacle()
| void Sample_TempObstacles::addTempObstacle |
( |
const float * |
pos | ) |
|
◆ clearAllTempObstacles()
| void Sample_TempObstacles::clearAllTempObstacles |
( |
| ) |
|
◆ getTilePos()
| void Sample_TempObstacles::getTilePos |
( |
const float * |
pos, |
|
|
int & |
tx, |
|
|
int & |
ty |
|
) |
| |
◆ handleBuild()
| bool Sample_TempObstacles::handleBuild |
( |
| ) |
|
|
virtual |
◆ handleDebugMode()
| void Sample_TempObstacles::handleDebugMode |
( |
| ) |
|
|
virtual |
◆ handleMeshChanged()
| void Sample_TempObstacles::handleMeshChanged |
( |
class InputGeom * |
geom | ) |
|
|
virtual |
◆ handleRender()
| void Sample_TempObstacles::handleRender |
( |
| ) |
|
|
virtual |
◆ handleRenderOverlay()
| void Sample_TempObstacles::handleRenderOverlay |
( |
double * |
proj, |
|
|
double * |
model, |
|
|
int * |
view |
|
) |
| |
|
virtual |
◆ handleSettings()
| void Sample_TempObstacles::handleSettings |
( |
| ) |
|
|
virtual |
◆ handleTools()
| void Sample_TempObstacles::handleTools |
( |
| ) |
|
|
virtual |
◆ handleUpdate()
| void Sample_TempObstacles::handleUpdate |
( |
const float |
dt | ) |
|
|
virtual |
◆ loadAll()
| void Sample_TempObstacles::loadAll |
( |
const char * |
path | ) |
|
◆ removeTempObstacle()
| void Sample_TempObstacles::removeTempObstacle |
( |
const float * |
sp, |
|
|
const float * |
sq |
|
) |
| |
◆ renderCachedTile()
| void Sample_TempObstacles::renderCachedTile |
( |
const int |
tx, |
|
|
const int |
ty, |
|
|
const int |
type |
|
) |
| |
◆ renderCachedTileOverlay()
| void Sample_TempObstacles::renderCachedTileOverlay |
( |
const int |
tx, |
|
|
const int |
ty, |
|
|
double * |
proj, |
|
|
double * |
model, |
|
|
int * |
view |
|
) |
| |
◆ saveAll()
| void Sample_TempObstacles::saveAll |
( |
const char * |
path | ) |
|
◆ m_cacheBuildMemUsage
| unsigned int Sample_TempObstacles::m_cacheBuildMemUsage |
|
protected |
◆ m_cacheBuildTimeMs
| float Sample_TempObstacles::m_cacheBuildTimeMs |
|
protected |
◆ m_cacheCompressedSize
| int Sample_TempObstacles::m_cacheCompressedSize |
|
protected |
◆ m_cacheLayerCount
| int Sample_TempObstacles::m_cacheLayerCount |
|
protected |
◆ m_cacheRawSize
| int Sample_TempObstacles::m_cacheRawSize |
|
protected |
◆ m_drawMode
| DrawMode Sample_TempObstacles::m_drawMode |
|
protected |
◆ m_keepInterResults
| bool Sample_TempObstacles::m_keepInterResults |
|
protected |
◆ m_maxPolysPerTile
| int Sample_TempObstacles::m_maxPolysPerTile |
|
protected |
◆ m_maxTiles
| int Sample_TempObstacles::m_maxTiles |
|
protected |
◆ m_talloc
◆ m_tcomp
◆ m_tileCache
◆ m_tileSize
| float Sample_TempObstacles::m_tileSize |
|
protected |
◆ m_tmproc
The documentation for this class was generated from the following files: