Navigation
API > API/Plugins > API/Plugins/MassNavMeshNavigation
Short path used for navmesh navigation
| Name | FMassNavMeshShortPathFragment |
| Type | struct |
| Header File | /Engine/Plugins/AI/MassAI/Source/MassNavMeshNavigation/Public/MassNavMeshNavigationFragments.h |
| Include Path | #include "MassNavMeshNavigationFragments.h" |
Syntax
USTRUCT ()
struct FMassNavMeshShortPathFragment : public FMassFragment
Inheritance Hierarchy
- FMassFragment → FMassNavMeshShortPathFragment
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassNavMeshShortPathFragment() |
MassNavMeshNavigationFragments.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxPoints | uint8 | Maximum number of points on the short path | MassNavMeshNavigationFragments.h |
| NumPointsBeyondUpdate | uint8 | Number of points beyond the update point | MassNavMeshNavigationFragments.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDone | uint8 | True when path follow is completed. | MassNavMeshNavigationFragments.h | |
| bInitialized | uint8 | True when the path has been initalized. | MassNavMeshNavigationFragments.h | |
| bPartialResult | uint8 | True if the path was partial. | MassNavMeshNavigationFragments.h | |
| EndOfPathIntent | EMassMovementAction | Intent at the end of the path. | MassNavMeshNavigationFragments.h | |
| EndReachedDistance | float | Distance from the end of path used to confirm that the destination is reached. | MassNavMeshNavigationFragments.h | |
| MoveTargetProgressDistance | float | Current progress distance along the short path. | MassNavMeshNavigationFragments.h | |
| NumPoints | uint8 | Number of points on path. | MassNavMeshNavigationFragments.h | |
| Points | TStaticArray< FMassNavMeshPathPoint, MaxPoints > | Portal points | MassNavMeshNavigationFragments.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsDone() |
Returns true if we are done progressing on the short path. | MassNavMeshNavigationFragments.h | |
bool RequestShortPath
(
const TSharedPtr< FNavCorridor >& InCorridor, |
Fill Points from Corridor. | MassNavMeshNavigationFragments.h | |
void Reset() |
MassNavMeshNavigationFragments.h |