Navigation
API > API/Runtime > API/Runtime/Navmesh > API/Runtime/Navmesh/Detour
References
| Module | Navmesh |
| Header | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMesh.h |
| Include | #include "Detour/DetourNavMesh.h" |
Syntax
enum dtStraightPathFlags
{
DT_STRAIGHTPATH_START = 0x01,
DT_STRAIGHTPATH_END = 0x02,
DT_STRAIGHTPATH_OFFMESH_CONNECTION = 0x04,
}
Values
| Name | Description |
|---|---|
| DT_STRAIGHTPATH_START | The vertex is the start position in the path. |
| DT_STRAIGHTPATH_END | The vertex is the end position in the path. |
| DT_STRAIGHTPATH_OFFMESH_CONNECTION | The vertex is the start of an off-mesh connection. |
Remarks
Vertex flags returned by dtNavMeshQuery::findStraightPath.