![]() |
Recast Navigation
Navigation-mesh Toolset for Games
|
Defines a navigation mesh tile. More...
#include <DetourNavMesh.h>
Public Attributes | |
| unsigned int | salt |
| Counter describing modifications to the tile. | |
| unsigned int | linksFreeList |
| Index to the next free link. | |
| dtMeshHeader * | header |
| The tile header. | |
| dtPoly * | polys |
| The tile polygons. [Size: dtMeshHeader::polyCount]. | |
| float * | verts |
| The tile vertices. [(x, y, z) * dtMeshHeader::vertCount]. | |
| dtLink * | links |
| The tile links. [Size: dtMeshHeader::maxLinkCount]. | |
| dtPolyDetail * | detailMeshes |
| The tile's detail sub-meshes. [Size: dtMeshHeader::detailMeshCount]. | |
| float * | detailVerts |
| The detail mesh's unique vertices. [(x, y, z) * dtMeshHeader::detailVertCount]. | |
| unsigned char * | detailTris |
| The detail mesh's triangles. | |
| dtBVNode * | bvTree |
| The tile bounding volume nodes. | |
| dtOffMeshConnection * | offMeshCons |
| The tile off-mesh connections. [Size: dtMeshHeader::offMeshConCount]. | |
| unsigned char * | data |
| The tile data. (Not directly accessed under normal situations.) | |
| int | dataSize |
| Size of the tile data. | |
| int | flags |
| Tile flags. (See: dtTileFlags) | |
| dtMeshTile * | next |
| The next free tile, or the next tile in the spatial grid. | |
Defines a navigation mesh tile.
Tiles generally only exist within the context of a dtNavMesh object.
Some tile content is optional. For example, a tile may not contain any off-mesh connections. In this case the associated pointer will be null.
If a detail mesh exists it will share vertices with the base polygon mesh.
Only the vertices unique to the detail mesh will be stored in detailVerts.
| dtBVNode* dtMeshTile::bvTree |
The tile bounding volume nodes.
[Size: dtMeshHeader::bvNodeCount] (Will be null if bounding volumes are disabled.)
| unsigned char* dtMeshTile::data |
The tile data. (Not directly accessed under normal situations.)
| int dtMeshTile::dataSize |
Size of the tile data.
| dtPolyDetail* dtMeshTile::detailMeshes |
The tile's detail sub-meshes. [Size: dtMeshHeader::detailMeshCount].
| unsigned char* dtMeshTile::detailTris |
The detail mesh's triangles.
[(vertA, vertB, vertC, triFlags) * dtMeshHeader::detailTriCount]. See dtDetailTriEdgeFlags and dtGetDetailTriEdgeFlags.
| float* dtMeshTile::detailVerts |
The detail mesh's unique vertices. [(x, y, z) * dtMeshHeader::detailVertCount].
| int dtMeshTile::flags |
Tile flags. (See: dtTileFlags)
| dtMeshHeader* dtMeshTile::header |
The tile header.
| dtLink* dtMeshTile::links |
The tile links. [Size: dtMeshHeader::maxLinkCount].
| unsigned int dtMeshTile::linksFreeList |
Index to the next free link.
| dtMeshTile* dtMeshTile::next |
The next free tile, or the next tile in the spatial grid.
| dtOffMeshConnection* dtMeshTile::offMeshCons |
The tile off-mesh connections. [Size: dtMeshHeader::offMeshConCount].
| dtPoly* dtMeshTile::polys |
The tile polygons. [Size: dtMeshHeader::polyCount].
| unsigned int dtMeshTile::salt |
Counter describing modifications to the tile.
| float* dtMeshTile::verts |
The tile vertices. [(x, y, z) * dtMeshHeader::vertCount].