Navigation
API > API/Plugins > API/Plugins/MassZoneGraphNavigation
Describes short path along ZoneGraph
| Name | FMassZoneGraphShortPathFragment |
| Type | struct |
| Header File | /Engine/Plugins/AI/MassAI/Source/MassZoneGraphNavigation/Public/MassZoneGraphNavigationFragments.h |
| Include Path | #include "MassZoneGraphNavigationFragments.h" |
Syntax
USTRUCT ()
struct FMassZoneGraphShortPathFragment : public FMassFragment
Inheritance Hierarchy
- FMassFragment → FMassZoneGraphShortPathFragment
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassZoneGraphShortPathFragment() |
MassZoneGraphNavigationFragments.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxPoints | uint8 | MassZoneGraphNavigationFragments.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDone | uint8 | True when path follow is completed. | MassZoneGraphNavigationFragments.h | |
| bMoveReverse | uint8 | True if we're moving reverse | MassZoneGraphNavigationFragments.h | |
| bPartialResult | uint8 | True if the path was partial. | MassZoneGraphNavigationFragments.h | |
| DebugLaneHandle | FZoneGraphLaneHandle | Current lane handle, for debug | MassZoneGraphNavigationFragments.h | |
| EndOfPathIntent | EMassMovementAction | Intent at the end of the path. | MassZoneGraphNavigationFragments.h | |
| NextExitLinkType | EZoneLaneLinkType | If next lane is set, this is how to reach the lane from current lane. | MassZoneGraphNavigationFragments.h | |
| NextLaneHandle | FZoneGraphLaneHandle | If valid, the this lane will be set as current lane after the path follow is completed. | MassZoneGraphNavigationFragments.h | |
| NumPoints | uint8 | Number of points on path. | MassZoneGraphNavigationFragments.h | |
| Points | TStaticArray< FMassZoneGraphPathPoint, MaxPoints > | Path points | MassZoneGraphNavigationFragments.h | |
| ProgressDistance | float | Current progress distance along the lane. | MassZoneGraphNavigationFragments.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool IsDone() |
MassZoneGraphNavigationFragments.h | ||
bool RequestPath
(
const FMassZoneGraphCachedLaneFragment& CachedLane, |
Requests path along the current lane | MassZoneGraphNavigationFragments.h | |
bool RequestStand
(
const FMassZoneGraphCachedLaneFragment& CachedLane, |
Requests path to stand at current position. | MassZoneGraphNavigationFragments.h | |
void Reset() |
MassZoneGraphNavigationFragments.h |