FMassLookAtFragment

Struct that holds all parameters of the current entity look at

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

FMassFragment

FMassLookAtFragment

References

Module

MassAIBehavior

Header

/Engine/Plugins/AI/MassAI/Source/MassAIBehavior/Public/MassLookAtFragments.h

Include

#include "MassLookAtFragments.h"

Syntax

USTRUCT()
struct FMassLookAtFragment : public FMassFragment

Remarks

Struct that holds all parameters of the current entity look at

Variables

Name Description

Public variable UProperty Transient

uint8: 1

 

bRandomGazeEntities

Tru if random gaze can also pick interesting entities to look at.

Public variable UProperty Transient

FVector

 

Direction

Current look at direction (with gaze applied).

Public variable UProperty Transient

FVector

 

GazeDirection

Current gaze direction, applied on top of look at direction based on gaze mode.

Public variable UProperty Transient

float

 

GazeDuration

Duration of the current gaze.

Public variable UProperty Transient

float

 

GazeStartTime

Start time of the current gaze.

Public variable UProperty Transient

FMassEntityHand...

 

GazeTrackedEntity

Entity that is tracked as part of gazing.

Public variable UProperty Transient

uint16

 

LastSeenActionID

Last seen action ID, used to check when look at trajectory needs to be updated.

Public variable UProperty Transient

EMassLookAtMode

 

LookAtMode

Primary look at mode.

Public variable UProperty Transient

EMassLookAtGaze...

 

RandomGazeMode

Gaze look at mode.

Public variable UProperty Transient

uint8

 

RandomGazePitchVariation

Random gaze angle pitch variation (in degrees).

Public variable UProperty Transient

uint8

 

RandomGazeYawVariation

Random gaze angle yaw variation (in degrees).

Public variable UProperty Transient

FMassEntityHand...

 

TrackedEntity

Specific entity that is being tracked as primary look at.

Constructors

Name Description

Public function

FMassLookAtFragment()

Functions

Name Description

Public function

void

 

Reset()