dtNavMeshQuery::init

Initializes the query object.

Windows
MacOS
Linux

References

Module

Navmesh

Header

/Engine/Source/Runtime/Navmesh/Public/Detour/DetourNavMeshQuery.h

Include

#include "Detour/DetourNavMeshQuery.h"

Source

/Engine/Source/Runtime/Navmesh/Private/Detour/DetourNavMeshQuery.cpp

Syntax

dtStatus init
(
    const dtNavMesh * nav,
    const int maxNodes,
    dtQuerySpecialLinkFilter * linkFilter
)

Remarks

Initializes the query object.

Must be the first function called after construction, before other functions are used.

This function can be used multiple times.

Returns

The status flags for the query.

Parameters

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

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