| ANavigationData::CalcPathLength()
|
Module |
|
Header |
/Engine/Source/Runtime/NavigationSystem/Public/NavigationData.h |
Include |
#include "NavigationData.h" |
virtual ENavigationQueryResult::Type CalcPathLength
(
const FVector & PathStart,
const FVector & PathEnd,
float & OutPathLength,
FSharedConstNavQueryFilter QueryFilter,
const UObject * Querier
) const
Calculates path from PathStart to PathEnd and retrieves its length. @note this function does not generate string pulled path so the result is an (over-estimated) approximation potentially expensive, so use it with caution