Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/AAbstractNavData
- ANavigationData::CalcPathLength()
- AAbstractNavData::CalcPathLength()
References
Module | NavigationSystem |
Header | /Engine/Source/Runtime/NavigationSystem/Public/AbstractNavData.h |
Include | #include "AbstractNavData.h" |
virtual ENavigationQueryResult::Type CalcPathLength
(
const FVector & PathStart,
const FVector & PathEnd,
FVector::FReal & OutPathLength,
FSharedConstNavQueryFilter QueryFilter,
const UObject * Querier
) const
Remarks
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