FPerceptionListener

Should contain only cached information common to all senses.

Choose your operating system:

Windows

macOS

Linux

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/Perception/AIPerceptionTypes.h

Include

#include "Perception/AIPerceptionTypes.h"

Syntax

struct FPerceptionListener

Remarks

Should contain only cached information common to all senses. Sense-specific data needs to be stored by senses themselves

Variables

Name Description

Public variable

FVector

 

CachedDirection

Public variable

FVector

 

CachedLocation

Public variable

FPerceptionChan...

 

Filter

Public variable

TWeakObjectPtr<...

 

Listener

Public variable

FGenericTeamId

 

TeamIdentifier

Constructors

Name Description

Public function

FPerceptionListener

(
    UAIPerceptionComponent& InListener
)

Functions

Name Description

Public function

void

 

CacheLocation()

Public function Const

const AActor...

 

GetBodyActor()

Returns pointer to the actor representing this listener's physical body

Public function Const

FName

 

GetBodyActorName()

Public function Const

uint32

 

GetBodyActorUniqueID()

Public function Const

FPerceptionL...

 

GetListenerID()

Public function Const

const IGener...

 

GetTeamAgent()

Public function Const

bool

 

HasAnyNewStimuli()

Public function Const

bool

 

HasSense

(
    FAISenseID SenseID
)

Public function

void

 

ProcessStimuli()

Public function

void

 

RegisterStimulus

(
    AActor* Source,
    const FAIStimulus& Stimulus
)

Public function

void

 

UpdateListenerProperties

(
    UAIPerceptionComponent& Listener
)

Operators

Name Description

Public function Const

bool

 

operator==

(
    const UAIPerceptionComponent* ...
)

Public function Const

bool

 

operator==

(
    const FPerceptionListener& Other
)

Constants

Name

Description

NullListener

Used to remove "dead" listeners