Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/UNavigationSystemV1
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ENavigationQueryResult::Type GetPathLength
(
const FVector& PathStart, |
Calculates a path from PathStart to PathEnd and retrieves its overestimated length. | NavigationSystem.h | |
static ENavigationQueryResult::Type GetPathLength
(
UObject* WorldContextObject, |
Potentially expensive. Use with caution | NavigationSystem.h |
|
GetPathLength(const FVector &, const FVector &, FVector::FReal &, const ANavigationData *, FSharedConstNavQueryFilter)
Description
Calculates a path from PathStart to PathEnd and retrieves its overestimated length. @NOTE potentially expensive, so use it with caution
| Name | GetPathLength |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
| Include Path | #include "NavigationSystem.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
ENavigationQueryResult::Type GetPathLength
(
const FVector & PathStart,
const FVector & PathEnd,
FVector::FReal & PathLength,
const ANavigationData * NavData,
FSharedConstNavQueryFilter QueryFilter
) const
GetPathLength(UObject , const FVector &, const FVector &, double &, ANavigationData , TSubclassOf< UNavigationQueryFilter >)
Description
Potentially expensive. Use with caution
| Name | GetPathLength |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationSystem.h |
| Include Path | #include "NavigationSystem.h" |
| Source | /Engine/Source/Runtime/NavigationSystem/Private/NavigationSystem.cpp |
UFUNCTION (BlueprintPure, Category="AI|Navigation", Meta=(WorldContext="WorldContextObject"))
static ENavigationQueryResult::Type GetPathLength
(
UObject * WorldContextObject,
const FVector & PathStart,
const FVector & PathEnd,
double & PathLength,
ANavigationData * NavData,
TSubclassOf < UNavigationQueryFilter > FilterClass
)