| TSharedFromThis
|
Module |
|
Header |
/Engine/Source/Runtime/NavigationSystem/Public/NavMesh/NavMeshPath.h |
Include |
#include "NavMesh/NavMeshPath.h" |
struct FNavMeshPath : public FNavigationPath
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bDynamic |
Is this path generated on dynamic navmesh (i.e. one attached to moving surface) |
|
uint32: 1 |
bStringPulled |
Does this path contain string pulled path? If true then NumPathVerts > 0 and OutPathVerts contains valid data. |
|
uint32: 1 |
bWantsPathCorridor |
If set to true path instance will contain path corridor generated as a part pathfinding call (i.e. without the need to generate it with GeneratePathCorridorEdges |
|
uint32: 1 |
bWantsStringPulling |
If set to true path instance will contain a string pulled version. |
|
CustomLinkIds |
Set of unique link Ids |
|
|
PathCorridor |
Sequence of navigation mesh poly ids representing an obstacle-free navigation corridor |
|
|
TArray< float > |
PathCorridorCost |
For every poly in PathCorridor stores traversal cost from previous navpoly |
Name | Description | |
---|---|---|
|
FNavMeshPath() |
Name | Description | ||
---|---|---|---|
|
ApplyFlags ( |
||
|
ContainsWithSameEnd ( |
||
|
const TArray... |
GeneratePathCorridorEdges() |
It's only const to be callable in const environment. |
|
GetNodeFlags ( |
Get flags of path point or corridor poly (depends on bStringPulled flag) |
|
|
GetNodeRefIndex ( |
||
|
const TArray... |
GetPathCorridorEdges() |
|
|
float |
GetPathCorridorLength ( |
Calculates estimated length of path expressed as sequence of navmesh edges. |
|
float |
GetStringPulledLength ( |
Calculates total length of string pulled path. |
|
float |
GetTotalPathLength() |
|
|
Invert() |
||
|
IsPathSegmentANavLink ( |
||
|
IsStringPulled() |
||
|
OffsetFromCorners ( |
||
|
OnPathCorridorUpdated() |
||
|
PerformStringPulling |
Find string pulled path from PathCorridor |
|
|
SetPathCorridorEdges ( |
||
|
SetWantsPathCorridor ( |
||
|
SetWantsStringPulling ( |
||
|
WantsPathCorridor() |
||
|
WantsStringPulling() |
Name | Description | ||
---|---|---|---|
|
ContainsAnyCustomLink() |
Check if path contains any custom nav link |
|
|
ContainsCustomLink ( |
Check if path contains specific custom nav link |
|
|
ContainsNode ( |
Check if path (all polys in corridor) contains given node |
|
|
DebugDraw ( |
||
|
DescribeSelfToVisLog ( |
||
|
DoesIntersectBox |
Checks if given path, starting from StartingIndex, intersects with given AABB box |
|
|
DoesIntersectBox |
Checks if given path, starting from StartingIndex, intersects with given AABB box. |
|
|
float |
GetCostFromIndex ( |
Get cost of path, starting from given point |
|
float |
GetCostFromNode ( |
Get cost of path, starting from next poly in corridor |
|
GetDescription() |
||
|
GetSegmentDirection ( |
Retrieves normalized direction vector to given path segment. |
|
|
ResetForRepath() |
Resets all variables describing generated path before attempting new pathfinding call. |
Name |
Description |
---|---|
Super |
Name |
Description |
---|---|
Type |