FGraphAStar::FindPath

Performs the actual search.

Choose your operating system:

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