Module |
|
Header |
/Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
Include |
#include "NavigationSystem.h" |
Source |
/Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
ENavigationQueryResult::Type GetPathLength
(
const FVector & PathStart,
const FVector & PathEnd,
float & PathLength,
const ANavigationData * NavData,
FSharedConstNavQueryFilter QueryFilter
) const
Calculates a path from PathStart to PathEnd and retrieves its overestimated length. potentially expensive, so use it with caution