19 #ifndef DETOURNAVMESHBUILDER_H    20 #define DETOURNAVMESHBUILDER_H   125 #endif // DETOURNAVMESHBUILDER_H int tileLayer
The tile's layer within the layered destination mesh. Limit: >= 0 
 
float cs
The xz-plane cell size of the polygon mesh. [Limit: > 0] [Unit: wu]. 
 
const unsigned char * offMeshConDir
The permitted travel direction of the off-mesh connections. [Size: offMeshConCount]. 
 
const unsigned char * polyAreas
The user defined area ids assigned to each polygon. [Size: polyCount]. 
 
const float * offMeshConVerts
Off-mesh connection vertices. [(ax, ay, az, bx, by, bz) * offMeshConCount] [Unit: wu]...
 
const unsigned short * polys
The polygon data. [Size: polyCount * 2 * nvp]. 
 
int nvp
Number maximum number of vertices per polygon. [Limit: >= 3]. 
 
float walkableHeight
The agent height. [Unit: wu]. 
 
Represents the source data used to build an navigation mesh tile. 
 
const unsigned char * detailTris
The detail mesh triangles. [Size: 4 * detailTriCount]. 
 
float ch
The y-axis cell height of the polygon mesh. [Limit: > 0] [Unit: wu]. 
 
float bmax[3]
The maximum bounds of the tile. [(x, y, z)] [Unit: wu]. 
 
float walkableClimb
The agent maximum traversable ledge. (Up/Down) [Unit: wu]. 
 
unsigned int userId
The user defined id of the tile. 
 
const unsigned short * offMeshConFlags
User defined flags assigned to the off-mesh connections. [Size: offMeshConCount]. ...
 
bool buildBvTree
True if a bounding volume tree should be built for the tile. 
 
int detailTriCount
The number of triangles in the detail mesh. 
 
bool dtNavMeshDataSwapEndian(unsigned char *data, const int dataSize)
Swaps endianess of the tile data. 
 
int offMeshConCount
The number of off-mesh connections. [Limit: >= 0]. 
 
bool dtCreateNavMeshData(dtNavMeshCreateParams *params, unsigned char **outData, int *outDataSize)
Builds navigation mesh tile data from the provided tile creation data. 
 
const unsigned short * verts
The polygon mesh vertices. [(x, y, z) * vertCount] [Unit: vx]. 
 
float bmin[3]
The minimum bounds of the tile. [(x, y, z)] [Unit: wu]. 
 
float walkableRadius
The agent radius. [Unit: wu]. 
 
bool dtNavMeshHeaderSwapEndian(unsigned char *data, const int dataSize)
Swaps the endianess of the tile data's header (dtMeshHeader). 
 
const float * detailVerts
The detail mesh vertices. [Size: 3 * detailVertsCount] [Unit: wu]. 
 
int tileY
The tile's y-grid location within the multi-tile desitation mesh. (Along the z-axis.) 
 
int polyCount
Number of polygons in the mesh. [Limit: >= 1]. 
 
const unsigned int * detailMeshes
The height detail sub-mesh data. [Size: 4 * polyCount]. 
 
int tileX
The tile's x-grid location within the multi-tile destination mesh. (Along the x-axis.) 
 
const unsigned short * polyFlags
The user defined flags assigned to each polygon. [Size: polyCount]. 
 
int vertCount
The number vertices in the polygon mesh. [Limit: >= 3]. 
 
const float * offMeshConRad
Off-mesh connection radii. [Size: offMeshConCount] [Unit: wu]. 
 
const unsigned int * offMeshConUserID
The user defined ids of the off-mesh connection. [Size: offMeshConCount]. 
 
int detailVertsCount
The number of vertices in the detail mesh. 
 
const unsigned char * offMeshConAreas
User defined area ids assigned to the off-mesh connections. [Size: offMeshConCount].