Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/UNavigationSystemV1 > API/Runtime/NavigationSystem/UNavigationSystemV1/GetPathCost
References
Module | NavigationSystem |
Header | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
Include | #include "NavigationSystem.h" |
Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
ENavigationQueryResult::Type GetPathCost
&40;
const FVector & PathStart,
const FVector & PathEnd,
FVector::FReal & PathCost,
const ANavigationData &42; NavData,
FSharedConstNavQueryFilter QueryFilter
&41; const
Remarks
Calculates a path from PathStart to PathEnd and retrieves its cost. potentially expensive, so use it with caution