dtNavMeshQuery::finalizeSlicedFindPathPartial

Finalizes and returns the results of an incomplete sliced path query, returning the path to the furthest polygon on the existing path that was visited during the search.

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 finalizeSlicedFindPathPartial
(
    const dtPolyRef * existing,
    const int existingSize,
    dtPolyRef * path,
    int * pathCount,
    const int maxPath
)

Remarks

Finalizes and returns the results of an incomplete sliced path query, returning the path to the furthest polygon on the existing path that was visited during the search.

Returns

The status flags for the query.

Parameters

Parameter

Description

existing

An array of polygon references for the existing path.

existingSize

The number of polygon in the existing array.

path

An ordered list of polygon references representing the path. (Start to end.) [(polyRef) * pathCount]

pathCount

The number of polygons returned in the path array.

maxPath

The max number of polygons the path array can hold. [Limit: >= 1]

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