FGraphAStar::FindPath

Performs the actual search.

Windows
MacOS
Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Public/GraphAStar.h

Include

#include "GraphAStar.h"

Syntax

template<typename TQueryFilter, typename TResultPathInfo>
EGraphAStarResult FindPath
(
    const FSearchNode & StartNode,
    const FSearchNode & EndNode,
    const TQueryFilter & Filter,
    TResultPathInfo & OutPath
)

Remarks

Performs the actual search.

Parameters

Parameter

Description

[OUT]

OutPath - on successful search contains a sequence of graph nodes representing solution optimal within given constraints

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