dtNavMeshQuery::initSlicedFindPath

Initializes a sliced path query.

Windows
MacOS
Linux

Warnings

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 initSlicedFindPath
(
    dtPolyRef startRef,
    dtPolyRef endRef,
    const float * startPos,
    const float * endPos,
    const float costLimit,
    const dtQueryFilter * filter
)

Remarks

Initializes a sliced path query.

Calling any non-slice methods before calling finalizeSlicedFindPath() or finalizeSlicedFindPathPartial() may result in corrupted data! The `filter_ pointer is stored and used for the duration of the sliced path query.

Returns

The status flags for the query.

Parameters

Parameter

Description

startRef

The refrence id of the start polygon.

endRef

The reference id of the end polygon.

startPos

A position within the start polygon. [(x, y, z)]

endPos

A position within the end polygon. [(x, y, z)]

costLimit

Cost limit of nodes allowed to be added to the open list //

filter

The polygon filter to apply to the 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