GetPathCost

Overload list

Windows
MacOS
Linux
Name Description

Public function Const

ENavigationQ...

 

GetPathCost

(
    const FVector& PathStart,
    const FVector& PathEnd,
    float& PathCost,
    const ANavigationData* NavData,
    FSharedConstNavQueryFilter QueryFil...
)

Calculates a path from PathStart to PathEnd and retrieves its cost.

Public function Static

ENavigationQ...

 

GetPathCost

(
    UObject* WorldContextObject,
    const FVector& PathStart,
    const FVector& PathEnd,
    float& PathCost,
    ANavigationData* NavData,
    TSubclassOf< UNavigationQueryFilter...
)

Potentially expensive.

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