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 dtOffMeshConnection
Remarks
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.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
unsigned char | flags | Link flags. |
![]() |
dtReal | height | The snap height of endpoints (less than 0 = use step height) |
![]() |
unsigned short | poly | The polygon reference of the connection within the tile. |
![]() |
dtReal[6] | pos | The endpoints of the connection. [(ax, ay, az, bx, by, bz)]. |
![]() |
dtReal | rad | The radius of the endpoints. [Limit: >= 0]. |
![]() |
unsigned char | side | End point side. |
![]() |
unsigned long long int | userId | The id of the offmesh connection. (User assigned when the navigation mesh is built.) |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | Gets the link direction. | |
![]() ![]() |
bool | Gets the link snap mode. | |
![]() |
void | setFlags
(
unsigned char conFlags |
Sets link flags. |