Navigation
API > API/Runtime > API/Runtime/NavigationSystem > API/Runtime/NavigationSystem/AAbstractNavData
Description
Searches navmesh edges between the two path points, search up to the convex polygon described in SearchArea. The returned edges are not clipped to the search area polygon.
Virtual Inheritance
- ANavigationData::GetPathSegmentBoundaryEdges → AAbstractNavData::GetPathSegmentBoundaryEdges
| Name | GetPathSegmentBoundaryEdges |
| Type | function |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/AbstractNavData.h |
| Include Path | #include "AbstractNavData.h" |
virtual bool GetPathSegmentBoundaryEdges
(
const FNavigationPath & Path,
const FNavPathPoint & StartPoint,
const FNavPathPoint & EndPoint,
const TConstArrayView< FVector > SearchArea,
TArray < FVector > & OutEdges,
const float MaxAreaEnterCost,
FSharedConstNavQueryFilter Filter,
const UObject * Querier
) const
true if successful, false otherwise
Parameters
| Name | Remarks |
|---|---|
| Path | Path where From and To belong to. |
| StartPoint | start location of the path segment. |
| EndPoint | end location of the path segment. |
| SearchArea | 2D convex polygon that describes the search area. |
| OutEdges | result edges, each edge is an adjacent pair of points in the array. |
| MaxAreaEnterCost | if the fixed cost to enter a node is higher than this value, the node is considered unnavigable. |
| Filter | Nav filter to use, or if nullptr, default filter is used. |