FPathFindingQuery

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystemTypes.h

Include

#include "NavigationSystemTypes.h"

Syntax

struct FPathFindingQuery : public FPathFindingQueryData

Variables

Constructors

Name Description

Public function

FPathFindingQuery()

Public function

FPathFindingQuery

(
    const FPathFindingQuery& Source
)

Public function

FPathFindingQuery

(
    FNavPathSharedRef PathToRecalculate,
    const ANavigationData* NavData...
)

Public function

FPathFindingQuery

(
    const UObject* InOwner,
    const ANavigationData& InNavData,
    const FVector& Start,
    const FVector& End,
    FSharedConstNavQueryFilter SourceQu...,
    FNavPathSharedPtr InPathInstanceToF...,
    const float CostLimit
)

Public function

FPathFindingQuery

(
    const INavAgentInterface& InNavAge...,
    const ANavigationData& InNavData,
    const FVector& Start,
    const FVector& End,
    FSharedConstNavQueryFilter SourceQu...,
    FNavPathSharedPtr InPathInstanceToF...,
    const float CostLimit
)

Functions

Name Description

Public function Const

float

 

ComputeCostLimitFromHeuristic

(
    const FVector& StartPos,
    const FVector& EndPos,
    const float HeuristicScale,
    const float CostLimitFactor,
    const float MinimumCostLimit
)

Utility function to compute a cost limit using an Euclidean heuristic, an heuristic scale and a cost limit factor CostLimitFactor: multiplier used to compute the cost limit value from the initial heuristic MinimumCostLimit: minimum clamping value used to prevent low cost limit for short path query

Public function

FPathFinding...

 

SetAllowPartialPaths

(
    bool bAllow
)

Public function

FPathFinding...

 

SetNavAgentProperties

(
    const FNavAgentProperties& InNavAg...
)

Public function

FPathFinding...

 

SetPathInstanceToUpdate

(
    FNavPathSharedPtr InPathInstanceToF...
)