Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/AAbstractNavData
Description
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 @NOTE potentially expensive, so use it with caution
Virtual Inheritance
- ANavigationData::CalcPathLength → AAbstractNavData::CalcPathLength
| Name | CalcPathLength |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/AbstractNavData.h |
| Include Path | #include "AbstractNavData.h" |
virtual ENavigationQueryResult::Type CalcPathLength
(
const FVector & PathStart,
const FVector & PathEnd,
FVector::FReal & OutPathLength,
FSharedConstNavQueryFilter QueryFilter,
const UObject * Querier
) const