Module |
|
Header |
/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h |
Include |
#include "Detour/DetourNavMeshQuery.h" |
Source |
/Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMeshQuery.cpp |
dtStatus init
(
const dtNavMesh * nav,
const int maxNodes,
dtQuerySpecialLinkFilter * linkFilter
)
Initializes the query object.
Must be the first function called after construction, before other functions are used.
This function can be used multiple times.
The status flags for the query.
Parameter |
Description |
---|---|
nav |
Pointer to the dtNavMesh object to use for all queries. |
maxNodes |
Maximum number of search nodes. [Limits: 0 < value <= 65536] |
linkFilter |
Special link filter used for every query |