Navigation
Unreal Engine C++ API Reference > Runtime > NavigationSystem > UNavigationSystemV1 > GetPathLength
Deprecated * Use new version with FVector::FReal
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 GetPathLength
&40;
const FVector & PathStart,
const FVector & PathEnd,
float & PathLength,
const ANavigationData &42; NavData,
FSharedConstNavQueryFilter QueryFilter
&41; const
Remarks
Calculates a path from PathStart to PathEnd and retrieves its overestimated length. potentially expensive, so use it with caution