ANavigationData::CalcPathLength

Calculates path from PathStart to PathEnd and retrieves its length.

Windows
MacOS
Linux

Override Hierarchy

ANavigationData::CalcPathLength()

AAbstractNavData::CalcPathLength()

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationData.h

Include

#include "NavigationData.h"

Syntax

virtual ENavigationQueryResult::Type CalcPathLength
(
    const FVector & PathStart,
    const FVector & PathEnd,
    float & 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 potentially expensive, so use it with caution

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss