![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <AIPerceptionTypes.h>
Public Member Functions | |
| AIMODULE_API | FPerceptionListener (UAIPerceptionComponent &InListener) |
| AIMODULE_API void | UpdateListenerProperties (UAIPerceptionComponent &Listener) |
| bool | operator== (const UAIPerceptionComponent *Other) const |
| bool | operator== (const FPerceptionListener &Other) const |
| AIMODULE_API void | CacheLocation () |
| AIMODULE_API void | RegisterStimulus (AActor *Source, const FAIStimulus &Stimulus) |
| bool | HasAnyNewStimuli () const |
| AIMODULE_API void | ProcessStimuli () |
| bool | HasSense (FAISenseID SenseID) const |
| FPerceptionListenerID | GetListenerID () const |
| AIMODULE_API FName | GetBodyActorName () const |
| AIMODULE_API uint32 | GetBodyActorUniqueID () const |
| AIMODULE_API const AActor * | GetBodyActor () const |
| AIMODULE_API const IGenericTeamAgentInterface * | GetTeamAgent () const |
Public Attributes | |
| TWeakObjectPtr< UAIPerceptionComponent > | Listener |
| FPerceptionChannelAllowList | Filter |
| FVector | CachedLocation |
| FVector | CachedDirection |
| FGenericTeamId | TeamIdentifier |
Static Public Attributes | |
| static AIMODULE_API const FPerceptionListener | NullListener |
Friends | |
| class | UAIPerceptionSystem |
Should contain only cached information common to all senses. Sense-specific data needs to be stored by senses themselves
| FPerceptionListener::FPerceptionListener | ( | UAIPerceptionComponent & | InListener | ) |
| void FPerceptionListener::CacheLocation | ( | ) |
| const AActor * FPerceptionListener::GetBodyActor | ( | ) | const |
Returns pointer to the actor representing this listener's physical body
| FName FPerceptionListener::GetBodyActorName | ( | ) | const |
| uint32 FPerceptionListener::GetBodyActorUniqueID | ( | ) | const |
|
inline |
| const IGenericTeamAgentInterface * FPerceptionListener::GetTeamAgent | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
| void FPerceptionListener::ProcessStimuli | ( | ) |
| void FPerceptionListener::RegisterStimulus | ( | AActor * | Source, |
| const FAIStimulus & | Stimulus | ||
| ) |
| void FPerceptionListener::UpdateListenerProperties | ( | UAIPerceptionComponent & | Listener | ) |
|
friend |
| FVector FPerceptionListener::CachedDirection |
| FVector FPerceptionListener::CachedLocation |
| FPerceptionChannelAllowList FPerceptionListener::Filter |
| TWeakObjectPtr<UAIPerceptionComponent> FPerceptionListener::Listener |
|
static |
| FGenericTeamId FPerceptionListener::TeamIdentifier |