Navigation
Unreal Engine C++ API Reference > Runtime > Navmesh > Detour
References
Module | Navmesh |
Header | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h |
Include | #include "Detour/DetourNavMeshQuery.h" |
Syntax
struct dtQuerySpecialLinkFilter
Remarks
By default dtQueryFilter will use virtual calls. On certain platforms indirect or virtual function call is expensive. The default setting is to use non-virtual functions, the actual implementations of the functions are declared as inline for maximum speed. To avoid virtual calls create dtQueryFilter with inIsVirtual = false. Special link filter is custom filter run only for offmesh links with assigned UserId Used by smart navlinks in UE
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | initialize () |
Called before accessing in A* loop (can be called multiple time for updateSlicedFindPath) |
![]() ![]() ![]() |
bool | isLinkAllowed
(
const unsigned long long int UserId |
Returns true if special link can be visited. (I.e. Is traversable.) |
Deprecated Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | isLinkAllowed
(
const int UserId |
LinkIds are now based on a 64 bit uint. Use the version of this function that takes an unsigned long long int |