Navigation
Unreal Engine C++ API Reference > Runtime > Navmesh > Detour
References
Module | Navmesh |
Header | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMesh.h |
Include | #include "Detour/DetourNavMesh.h" |
Syntax
struct dtPoly
Remarks
Defines a polyogn within a dtMeshTile object.
Variables
Type | 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[DT_VERTS_PER_POLYGON] | neis | Packed data representing neighbor polygons references and flags for each edge. |
![]() |
unsigned char | vertCount | The number of vertices in the polygon. |
![]() |
unsigned short[DT_VERTS_PER_POLYGON] | verts | The indices of the polygon's vertices. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
unsigned char | getArea () |
Gets the user defined area id. |
![]() ![]() |
unsigned char | getType () |
Gets the polygon type. (See: dtPolyTypes) |
![]() |
void | setArea
(
unsigned char a |
Sets the user defined area id. [Limit: < #DT_MAX_AREAS]. |
![]() |
void | setType
(
unsigned char t |
Sets the polygon type. (See: dtPolyTypes.) |