FZoneGraphPathFilter

Context for [FGraphAStar::FindPath()](API\Runtime\AIModule\FGraphAStar\FindPath)

Choose your operating system:

Windows

macOS

Linux

References

Module

ZoneGraph

Header

/Engine/Plugins/Runtime/ZoneGraph/Source/ZoneGraph/Public/ZoneGraphAStar.h

Include

#include "ZoneGraphAStar.h"

Syntax

struct FZoneGraphPathFilter

Remarks

Variables

Name Description

Protected variable

const FZoneGrap...

 

EndLocation

Protected variable

const FZoneGrap...

 

StartLocation

Protected variable

const FZoneGrap...

 

ZoneStorage

Constructors

Name Description

Public function

FZoneGraphPathFilter

(
    const FZoneGraphStorage& InGraph,
    const FZoneGraphLaneLocation& InSt...,
    const FZoneGraphLaneLocation& InEn...
)

Functions

Name Description

Public function Const

float

 

GetHeuristicCost

(
    const FZoneGraphAStarNode& Neighbo...,
    const FZoneGraphAStarNode& EndNode
)

Public function Const

float

 

GetHeuristicScale()

Public function Const

float

 

GetTraversalCost

(
    const FZoneGraphAStarNode& CurNode,
    const FZoneGraphAStarNode& Neighbo...
)

Public function Const

bool

 

IsEnd

(
    const FZoneGraphAStarNode& Node
)

Public function Const

bool

 

IsStart

(
    const FZoneGraphAStarNode& Node
)

Public function Const

bool

 

IsTraversalAllowed

(
    const FNodeRef StartNodeRef,
    const FNodeRef& Neighbour
)

Public function Const

bool

 

ShouldIncludeStartNodeInPath()

Public function Const

bool

 

WantsPartialSolution()

Typedefs

Name

Description

FNodeRef