FNavigationPath::GetLengthFromPosition

Calculates total length of segments from NextPathPoint to the end of path, plus distance from CurrentPosition to NextPathPoint

Windows
MacOS
Linux

Override Hierarchy

FNavigationPath::GetLengthFromPosition()

FMetaNavMeshPath::GetLengthFromPosition()

References

Module

NavigationSystem

Header

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

Include

#include "NavigationData.h"

Source

/Engine/Source/Runtime/NavigationSystem/Private/NavigationPath.cpp

Syntax

virtual float GetLengthFromPosition
(
    FVector SegmentStart,
    uint32 NextPathPointIndex
) const

Remarks

Calculates total length of segments from NextPathPoint to the end of path, plus distance from CurrentPosition to NextPathPoint

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