Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMesh.h |
Include |
#include "Detour/DetourNavMesh.h" |
struct dtPoly
Defines a polyogn within a dtMeshTile object.
Name | Description | ||
---|---|---|---|
|
unsigned char |
areaAndtype |
The bit packed area id and polygon type. |
|
unsigned int |
firstLink |
Index to first link in linked list. (Or #DT_NULL_LINK if there is no link.) |
|
unsigned short |
flags |
The user defined polygon flags. |
|
unsigned short[... |
neis |
Packed data representing neighbor polygons references and flags for each edge. |
|
unsigned char |
vertCount |
The number of vertices in the polygon. |
|
unsigned short[... |
verts |
The indices of the polygon's vertices. |
Name | Description | ||
---|---|---|---|
|
unsigned cha... |
getArea() |
Gets the user defined area id. |
|
unsigned cha... |
getType() |
Gets the polygon type. (See: dtPolyTypes) |
|
setArea ( |
Sets the user defined area id. [Limit: < #DT_MAX_AREAS]. |
|
|
setType ( |
Sets the polygon type. (See: dtPolyTypes.) |