Navigation
API > API/Plugins > API/Plugins/MassAIBehavior
Inheritance Hierarchy
- FMassFragment
- FMassLookAtFragment
References
| Module | MassAIBehavior |
| Header | /Engine/Plugins/AI/MassAI/Source/MassAIBehavior/Public/MassLookAtFragments.h |
| Include | #include "MassLookAtFragments.h" |
Syntax
USTRUCT&40;&41;
struct FMassLookAtFragment : public FMassFragment
Remarks
Struct that holds all parameters of the current entity look at
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint8: 1 | bRandomGazeEntities | Tru if random gaze can also pick interesting entities to look at. | |
| FVector | Direction | Current look at direction (with gaze applied). | |
| FVector | GazeDirection | Current gaze direction, applied on top of look at direction based on gaze mode. | |
| float | GazeDuration | Duration of the current gaze. | |
| double | GazeStartTime | Start time of the current gaze. | |
| FMassEntityHandle | GazeTrackedEntity | Entity that is tracked as part of gazing. | |
| uint16 | LastSeenActionID | Last seen action ID, used to check when look at trajectory needs to be updated. | |
| EMassLookAtMode | LookAtMode | Primary look at mode. | |
| EMassLookAtGazeMode | RandomGazeMode | Gaze look at mode. | |
| uint8 | RandomGazePitchVariation | Random gaze angle pitch variation (in degrees). | |
| uint8 | RandomGazeYawVariation | Random gaze angle yaw variation (in degrees). | |
| FMassEntityHandle | TrackedEntity | Specific entity that is being tracked as primary look at. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Reset () |