#include <Sample_TileMesh.h>
|
enum | DrawMode {
DRAWMODE_NAVMESH
, DRAWMODE_NAVMESH_TRANS
, DRAWMODE_NAVMESH_BVTREE
, DRAWMODE_NAVMESH_NODES
,
DRAWMODE_NAVMESH_PORTALS
, DRAWMODE_NAVMESH_INVIS
, DRAWMODE_MESH
, DRAWMODE_VOXELS
,
DRAWMODE_VOXELS_WALKABLE
, DRAWMODE_COMPACT
, DRAWMODE_COMPACT_DISTANCE
, DRAWMODE_COMPACT_REGIONS
,
DRAWMODE_REGION_CONNECTIONS
, DRAWMODE_RAW_CONTOURS
, DRAWMODE_BOTH_CONTOURS
, DRAWMODE_CONTOURS
,
DRAWMODE_POLYMESH
, DRAWMODE_POLYMESH_DETAIL
, MAX_DRAWMODE
} |
|
◆ DrawMode
Enumerator |
---|
DRAWMODE_NAVMESH | |
DRAWMODE_NAVMESH_TRANS | |
DRAWMODE_NAVMESH_BVTREE | |
DRAWMODE_NAVMESH_NODES | |
DRAWMODE_NAVMESH_PORTALS | |
DRAWMODE_NAVMESH_INVIS | |
DRAWMODE_MESH | |
DRAWMODE_VOXELS | |
DRAWMODE_VOXELS_WALKABLE | |
DRAWMODE_COMPACT | |
DRAWMODE_COMPACT_DISTANCE | |
DRAWMODE_COMPACT_REGIONS | |
DRAWMODE_REGION_CONNECTIONS | |
DRAWMODE_RAW_CONTOURS | |
DRAWMODE_BOTH_CONTOURS | |
DRAWMODE_CONTOURS | |
DRAWMODE_POLYMESH | |
DRAWMODE_POLYMESH_DETAIL | |
MAX_DRAWMODE | |
◆ Sample_TileMesh()
Sample_TileMesh::Sample_TileMesh |
( |
| ) |
|
◆ ~Sample_TileMesh()
Sample_TileMesh::~Sample_TileMesh |
( |
| ) |
|
|
virtual |
◆ buildAllTiles()
void Sample_TileMesh::buildAllTiles |
( |
| ) |
|
◆ buildTile()
void Sample_TileMesh::buildTile |
( |
const float * |
pos | ) |
|
◆ buildTileMesh()
unsigned char * Sample_TileMesh::buildTileMesh |
( |
const int |
tx, |
|
|
const int |
ty, |
|
|
const float * |
bmin, |
|
|
const float * |
bmax, |
|
|
int & |
dataSize |
|
) |
| |
|
protected |
◆ cleanup()
void Sample_TileMesh::cleanup |
( |
| ) |
|
|
protected |
◆ collectSettings()
void Sample_TileMesh::collectSettings |
( |
struct BuildSettings & |
settings | ) |
|
|
virtual |
◆ getTilePos()
void Sample_TileMesh::getTilePos |
( |
const float * |
pos, |
|
|
int & |
tx, |
|
|
int & |
ty |
|
) |
| |
◆ handleBuild()
bool Sample_TileMesh::handleBuild |
( |
| ) |
|
|
virtual |
◆ handleDebugMode()
void Sample_TileMesh::handleDebugMode |
( |
| ) |
|
|
virtual |
◆ handleMeshChanged()
void Sample_TileMesh::handleMeshChanged |
( |
class InputGeom * |
geom | ) |
|
|
virtual |
◆ handleRender()
void Sample_TileMesh::handleRender |
( |
| ) |
|
|
virtual |
◆ handleRenderOverlay()
void Sample_TileMesh::handleRenderOverlay |
( |
double * |
proj, |
|
|
double * |
model, |
|
|
int * |
view |
|
) |
| |
|
virtual |
◆ handleSettings()
void Sample_TileMesh::handleSettings |
( |
| ) |
|
|
virtual |
◆ handleTools()
void Sample_TileMesh::handleTools |
( |
| ) |
|
|
virtual |
◆ loadAll()
dtNavMesh* Sample_TileMesh::loadAll |
( |
const char * |
path | ) |
|
|
protected |
◆ removeAllTiles()
void Sample_TileMesh::removeAllTiles |
( |
| ) |
|
◆ removeTile()
void Sample_TileMesh::removeTile |
( |
const float * |
pos | ) |
|
◆ saveAll()
void Sample_TileMesh::saveAll |
( |
const char * |
path, |
|
|
const dtNavMesh * |
mesh |
|
) |
| |
|
protected |
◆ m_buildAll
bool Sample_TileMesh::m_buildAll |
|
protected |
◆ m_cfg
◆ m_chf
◆ m_cset
◆ m_dmesh
◆ m_drawMode
◆ m_keepInterResults
bool Sample_TileMesh::m_keepInterResults |
|
protected |
◆ m_lastBuiltTileBmax
float Sample_TileMesh::m_lastBuiltTileBmax[3] |
|
protected |
◆ m_lastBuiltTileBmin
float Sample_TileMesh::m_lastBuiltTileBmin[3] |
|
protected |
◆ m_maxPolysPerTile
int Sample_TileMesh::m_maxPolysPerTile |
|
protected |
◆ m_maxTiles
int Sample_TileMesh::m_maxTiles |
|
protected |
◆ m_pmesh
◆ m_solid
◆ m_tileBuildTime
float Sample_TileMesh::m_tileBuildTime |
|
protected |
◆ m_tileCol
unsigned int Sample_TileMesh::m_tileCol |
|
protected |
◆ m_tileMemUsage
float Sample_TileMesh::m_tileMemUsage |
|
protected |
◆ m_tileSize
float Sample_TileMesh::m_tileSize |
|
protected |
◆ m_tileTriCount
int Sample_TileMesh::m_tileTriCount |
|
protected |
◆ m_totalBuildTimeMs
float Sample_TileMesh::m_totalBuildTimeMs |
|
protected |
◆ m_triareas
unsigned char* Sample_TileMesh::m_triareas |
|
protected |
The documentation for this class was generated from the following files: