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>
EGraphAStarResult FindPath
(
    const FGraphNodeRef StartNodeRef,
    const FGraphNodeRef EndNodeRef,
    const TQueryFilter & Filter,
    TArray< FGraphNodeRef > & 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