Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/FNavigationPath
- 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 |
virtual FVector::FReal GetLengthFromPosition
&40;
FVector SegmentStart,
uint32 NextPathPointIndex
&41; const
Remarks
Calculates total length of segments from NextPathPoint to the end of path, plus distance from CurrentPosition to NextPathPoint