Recast Navigation
Navigation-mesh Toolset for Games
dtNavMeshParams Struct Reference

Configuration parameters used to define multi-tile navigation meshes. More...

#include <DetourNavMesh.h>

Public Attributes

float orig [3]
 The world space origin of the navigation mesh's tile space. [(x, y, z)]. More...
 
float tileWidth
 The width of each tile. (Along the x-axis.) More...
 
float tileHeight
 The height of each tile. (Along the z-axis.) More...
 
int maxTiles
 The maximum number of tiles the navigation mesh can contain. This and maxPolys are used to calculate how many bits are needed to identify tiles and polygons uniquely. More...
 
int maxPolys
 The maximum number of polygons each tile can contain. This and maxTiles are used to calculate how many bits are needed to identify tiles and polygons uniquely. More...
 

Description

Configuration parameters used to define multi-tile navigation meshes.

The values are used to allocate space during the initialization of a navigation mesh.

See also
dtNavMesh::init()

Member Data Documentation

◆ maxPolys

int dtNavMeshParams::maxPolys

The maximum number of polygons each tile can contain. This and maxTiles are used to calculate how many bits are needed to identify tiles and polygons uniquely.

◆ maxTiles

int dtNavMeshParams::maxTiles

The maximum number of tiles the navigation mesh can contain. This and maxPolys are used to calculate how many bits are needed to identify tiles and polygons uniquely.

◆ orig

float dtNavMeshParams::orig[3]

The world space origin of the navigation mesh's tile space. [(x, y, z)].

◆ tileHeight

float dtNavMeshParams::tileHeight

The height of each tile. (Along the z-axis.)

◆ tileWidth

float dtNavMeshParams::tileWidth

The width of each tile. (Along the x-axis.)


The documentation for this struct was generated from the following file: