Navigation
API > API/Runtime > API/Runtime/Navmesh
Defines an navigation mesh off-mesh connection within a dtMeshTile object. An off-mesh connection is a user defined traversable connection made up to two vertices.
| Name | dtOffMeshConnection |
| Type | struct |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMesh.h |
| Include Path | #include "Detour/DetourNavMesh.h" |
Syntax
struct dtOffMeshConnection
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| flags | unsigned char | Link flags. | Detour/DetourNavMesh.h | |
| height | dtReal | The snap height of endpoints (less than 0 = use step height) | Detour/DetourNavMesh.h | |
| poly | unsigned short | The polygon reference of the connection within the tile. | Detour/DetourNavMesh.h | |
| pos | dtReal | The endpoints of the connection. [(ax, ay, az, bx, by, bz)]. | Detour/DetourNavMesh.h | |
| rad | dtReal | The radius of the endpoints. [Limit: >= 0]. | Detour/DetourNavMesh.h | |
| side | unsigned char | End point side. | Detour/DetourNavMesh.h | |
| userId | unsigned long long int | The id of the offmesh connection. (User assigned when the navigation mesh is built.) | Detour/DetourNavMesh.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool getBiDirectional() |
Gets the link direction. | Detour/DetourNavMesh.h | |
bool getIsGenerated() |
Indicates if the link was automatically generated. | Detour/DetourNavMesh.h | |
bool getSnapToCheapestArea() |
Gets the link snap mode. | Detour/DetourNavMesh.h | |
void setFlags
(
unsigned char conTypeFlags |
Sets link flags. | Detour/DetourNavMesh.h |