Navigation
API > API/Runtime > API/Runtime/Navmesh
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
| Name | dtQuerySpecialLinkFilter |
| Type | struct |
| Header File | /Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h |
| Include Path | #include "Detour/DetourNavMeshQuery.h" |
Syntax
struct dtQuerySpecialLinkFilter
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~dtQuerySpecialLinkFilter() |
Detour/DetourNavMeshQuery.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void initialize() |
Called before accessing in A* loop (can be called multiple time for updateSlicedFindPath) | Detour/DetourNavMeshQuery.h | |
virtual bool isLinkAllowed
(
const unsigned long long int UserId |
Returns true if special link can be visited. (I.e. Is traversable.) | Detour/DetourNavMeshQuery.h | |
virtual bool isLinkAllowed
(
const int UserId |
Detour/DetourNavMeshQuery.h |