Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Perception
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UAISense
- UAISense_Hearing
References
| Module | AIModule |
| Header | /Engine/Source/Runtime/AIModule/Classes/Perception/AISense_Hearing.h |
| Include | #include "Perception/AISense_Hearing.h" |
Syntax
class UAISense_Hearing : public UAISense
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FPerceptionListenerID, FDigestedHearingProperties > | DigestedProperties | ||
| TArray< FAINoiseEvent > | NoiseEvents | ||
| float | SpeedOfSoundSq | Defaults to 0 to have instant notification. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UAISense_Hearing
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnListenerRemovedImpl
(
const FPerceptionListener& UpdatedListener |
||
| void | OnListenerUpdateImpl
(
const FPerceptionListener& UpdatedListener |
||
| void | OnNewListenerImpl
(
const FPerceptionListener& NewListener |
||
| void | RegisterEvent
(
const FAINoiseEvent& Event |
||
| void | RegisterEventsBatch
(
const TArray< FAINoiseEvent >& Events |
||
| void | |||
| void | ReportNoiseEvent
(
UObject* WorldContextObject, |
Report a noise event. |
Overridden from UAISense
| Type | Name | Description | |
|---|---|---|---|
| void | RegisterWrappedEvent
(
UAISenseEvent& PerceptionEvent |
Part of BP interface. Translates PerceptionEvent to FAINoiseEvent and call RegisterEvent(const FAINoiseEvent& Event) | |
| float | Update () |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FDigestedHearingProperties |