dtStraightPathFlags

Vertex flags returned by [dtNavMeshQuery::findStraightPath](API\Runtime\Navmesh\Detour\dtNavMeshQuery\findStraightPath).

Windows
MacOS
Linux

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss