/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h
Potentially expensive. Use with caution. Consider usingUPathFollowingComponent::GetRemainingPathCostinstead
static [ENavigationQueryResult::Type](API\Runtime\Engine\AI\Navigation\ENavigationQueryResult__Type) GetPathCost ( [UObject](API\Runtime\CoreUObject\UObject\UObject) * WorldContextObject, const FVector & PathStart, const FVector & PathEnd, double & PathCost, [ANavigationData](API\Runtime\NavigationSystem\ANavigationData) * NavData, [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [UNavigationQueryFilter](API\Runtime\NavigationSystem\NavFilters\UNavigationQueryFilter) > FilterClass )