Navigation
API > API/Plugins > API/Plugins/MassNavigation
Move target.
| Name | FMassMoveTargetFragment |
| Type | struct |
| Header File | /Engine/Plugins/AI/MassAI/Source/MassNavigation/Public/MassNavigationFragments.h |
| Include Path | #include "MassNavigationFragments.h" |
Syntax
USTRUCT ()
struct FMassMoveTargetFragment : public FMassFragment
Inheritance Hierarchy
- FMassFragment → FMassMoveTargetFragment
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMassMoveTargetFragment() |
MassNavigationFragments.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| UnsetDistance | const float | MassNavigationFragments.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOffBoundaries | uint8 | True if the movement target is assumed to be outside navigation boundaries. | MassNavigationFragments.h | |
| bSteeringFallingBehind | uint8 | True if the movement target is assumed to be outside navigation boundaries. | MassNavigationFragments.h | |
| Center | FVector | Center of the move target. | MassNavigationFragments.h | |
| DesiredSpeed | FMassInt16Real | Requested movement speed. | MassNavigationFragments.h | |
| DistanceToGoal | float | Distance remaining to the movement goal. | MassNavigationFragments.h | |
| EntityDistanceToGoal | float | Projected progress distance of the entity using the path. | MassNavigationFragments.h | |
| Forward | FVector | Forward direction of the movement target. | MassNavigationFragments.h | |
| IntentAtGoal | EMassMovementAction | Intended movement action at the target. | MassNavigationFragments.h | |
| SlackRadius | float | Allowed deviation around the movement target. | MassNavigationFragments.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bNetDirty | uint8 | MassNavigationFragments.h | ||
| CurrentAction | EMassMovementAction | Current movement action. | MassNavigationFragments.h | |
| CurrentActionID | uint16 | Number incremented each time new action (i.e move, stand, animation) is started. | MassNavigationFragments.h | |
| CurrentActionServerStartTime | double | Server time in seconds when the action started. | MassNavigationFragments.h | |
| CurrentActionWorldStartTime | double | World time in seconds when the action started. | MassNavigationFragments.h | |
| PreviousAction | EMassMovementAction | Previous movement action. | MassNavigationFragments.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CreateNewAction
(
const EMassMovementAction InAction, |
To setup current action from the authoritative world | MassNavigationFragments.h | |
void CreateReplicatedAction
(
const EMassMovementAction InAction, |
To setup current action from replicated data | MassNavigationFragments.h | |
EMassMovementAction GetCurrentAction() |
MassNavigationFragments.h | ||
uint16 GetCurrentActionID() |
MassNavigationFragments.h | ||
double GetCurrentActionServerStartTime() |
MassNavigationFragments.h | ||
double GetCurrentActionStartTime() |
MassNavigationFragments.h | ||
bool GetNetDirty() |
MassNavigationFragments.h | ||
EMassMovementAction GetPreviousAction() |
MassNavigationFragments.h | ||
void MarkNetDirty() |
MassNavigationFragments.h | ||
void ResetNetDirty() |
MassNavigationFragments.h | ||
FString ToString() |
MassNavigationFragments.h |