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