Classes |
struct | ObstacleRequest |
Public Member Functions |
dtStatus | addObstacle (const float *pos, const float radius, const float height, dtObstacleRef *result) |
dtStatus | addTile (unsigned char *data, const int dataSize, unsigned char flags, dtCompressedTileRef *result) |
dtStatus | buildNavMeshTile (const dtCompressedTileRef ref, class dtNavMesh *navmesh) |
dtStatus | buildNavMeshTilesAt (const int tx, const int ty, class dtNavMesh *navmesh) |
void | calcTightTileBounds (const struct dtTileCacheLayerHeader *header, float *bmin, float *bmax) const |
unsigned int | decodeObstacleIdObstacle (dtObstacleRef ref) const |
| Decodes an obstacle id.
|
unsigned int | decodeObstacleIdSalt (dtObstacleRef ref) const |
| Decodes an obstacle salt.
|
unsigned int | decodeTileIdSalt (dtCompressedTileRef ref) const |
| Decodes a tile salt.
|
unsigned int | decodeTileIdTile (dtCompressedTileRef ref) const |
| Decodes a tile id.
|
| dtTileCache () |
dtObstacleRef | encodeObstacleId (unsigned int salt, unsigned int it) const |
| Encodes an obstacle id.
|
dtCompressedTileRef | encodeTileId (unsigned int salt, unsigned int it) const |
| Encodes a tile id.
|
struct dtTileCacheAlloc * | getAlloc () |
struct dtTileCacheCompressor * | getCompressor () |
const dtTileCacheObstacle * | getObstacle (const int i) const |
void | getObstacleBounds (const struct dtTileCacheObstacle *ob, float *bmin, float *bmax) const |
const dtTileCacheObstacle * | getObstacleByRef (dtObstacleRef ref) |
int | getObstacleCount () const |
dtObstacleRef | getObstacleRef (const dtTileCacheObstacle *obmin) const |
const dtTileCacheParams * | getParams () const |
const dtCompressedTile * | getTile (const int i) const |
dtCompressedTile * | getTileAt (const int tx, const int ty, const int tlayer) |
const dtCompressedTile * | getTileByRef (dtCompressedTileRef ref) const |
int | getTileCount () const |
dtCompressedTileRef | getTileRef (const dtCompressedTile *tile) const |
int | getTilesAt (const int tx, const int ty, dtCompressedTileRef *tiles, const int maxTiles) const |
dtStatus | init (const dtTileCacheParams *params, struct dtTileCacheAlloc *talloc, struct dtTileCacheCompressor *tcomp, struct dtTileCacheMeshProcess *tmproc) |
dtStatus | queryTiles (const float *bmin, const float *bmax, dtCompressedTileRef *results, int *resultCount, const int maxResults) const |
dtStatus | removeObstacle (const dtObstacleRef ref) |
dtStatus | removeTile (dtCompressedTileRef ref, unsigned char **data, int *dataSize) |
dtStatus | update (const float, class dtNavMesh *navmesh) |
| ~dtTileCache () |
Definition at line 71 of file DetourTileCache.h.