Atoms Crowd
7.0.0
|
#include <DetourNavMeshBuilder.h>
Public Attributes | |
Polygon Mesh Attributes | |
Used to create the base navigation graph. See #rcPolyMesh for details related to these attributes. | |
const unsigned short * | verts |
The polygon mesh vertices. [(x, y, z) * vertCount] [Unit: vx]. | |
int | vertCount |
The number vertices in the polygon mesh. [Limit: >= 3]. | |
const unsigned short * | polys |
The polygon data. [Size: polyCount * 2 * nvp]. | |
const unsigned short * | polyFlags |
The user defined flags assigned to each polygon. [Size: polyCount]. | |
const unsigned char * | polyAreas |
The user defined area ids assigned to each polygon. [Size: polyCount]. | |
int | polyCount |
Number of polygons in the mesh. [Limit: >= 1]. | |
int | nvp |
Number maximum number of vertices per polygon. [Limit: >= 3]. | |
Cluster Attributes | |
unsigned short * | polyClusters |
Cluster Id for each polygon [Size: polyCount]. | |
unsigned short | clusterCount |
Number of unique clusters. | |
Height Detail Attributes (Optional) | |
See #rcPolyMeshDetail for details related to these attributes. | |
const unsigned int * | detailMeshes |
The height detail sub-mesh data. [Size: 4 * polyCount]. | |
const float * | detailVerts |
The detail mesh vertices. [Size: 3 * detailVertsCount] [Unit: wu]. | |
int | detailVertsCount |
The number of vertices in the detail mesh. | |
const unsigned char * | detailTris |
The detail mesh triangles. [Size: 4 * detailTriCount]. | |
int | detailTriCount |
The number of triangles in the detail mesh. | |
Off-Mesh Connections Attributes (Optional) | |
Used to define a custom edge within the navigation graph, an off-mesh connection is a user defined traversable connection, at least one side resides within a navigation mesh polygon. | |
const dtOffMeshLinkCreateParams * | offMeshCons |
Off-mesh connection data. [Size: offMeshConCount] [Unit: wu]. | |
int | offMeshConCount |
The number of off-mesh connections. [Limit: >= 0]. | |
Dynamic Area Attributes (Optional) | |
Used to define a custom dynamic obstacles from convex volumes | |
const dtDynamicAreaCreateParams * | dynamicAreas |
Dynamic Area data. [Size: dynamicAreaCount] [Unit: wu]. | |
int | dynamicAreaCount |
The number of dynamic areas. [Limit: >= 0]. | |
Tile Attributes | |
| |
unsigned int | userId |
The user defined id of the tile. | |
int | tileX |
The tile's x-grid location within the multi-tile destination mesh. (Along the x-axis.) | |
int | tileY |
The tile's y-grid location within the multi-tile desitation mesh. (Along the z-axis.) | |
int | tileLayer |
The tile's layer within the layered destination mesh. (Along the y-axis.) [Limit: >= 0]. | |
float | bmin [3] |
The minimum bounds of the tile. [(x, y, z)] [Unit: wu]. | |
float | bmax [3] |
The maximum bounds of the tile. [(x, y, z)] [Unit: wu]. | |
General Configuration Attributes | |
float | walkableHeight |
The agent height. [Unit: wu]. | |
float | walkableRadius |
The agent radius. [Unit: wu]. | |
float | walkableClimb |
The agent maximum traversable ledge. (Up/Down) [Unit: wu]. | |
float | cs |
The xz-plane cell size of the polygon mesh. [Limit: > 0] [Unit: wu]. | |
float | ch |
The y-axis cell height of the polygon mesh. [Limit: > 0] [Unit: wu]. | |
bool | buildBvTree |
Represents the source data used to build an navigation mesh tile.
bool AtomsUtils::dtNavMeshCreateParams::buildBvTree |
True if a bounding volume tree should be built for the tile.