Navigation
API > API/Runtime > API/Runtime/Navmesh
Vertex flags returned by dtNavMeshQuery::findStraightPath.
| Name | dtStraightPathFlags |
| Type | enum |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMesh.h |
| Include Path | #include "Detour/DetourNavMesh.h" |
Syntax
enum dtStraightPathFlags
{
DT_STRAIGHTPATH_START = 0x01,
DT_STRAIGHTPATH_END = 0x02,
DT_STRAIGHTPATH_OFFMESH_CONNECTION = 0x04,
}
Values
| Name | Remarks |
|---|---|
| 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. |