Module |
|
Header |
/Engine/Source/Runtime/AIModule/Classes/Perception/AISense_Hearing.h |
Include |
#include "Perception/AISense_Hearing.h" |
Source |
/Engine/Source/Runtime/AIModule/Private/Perception/AISense_Hearing.cpp |
Report a noise event.
Parameter |
Description |
---|---|
NoiseLocation |
Location of the noise. |
Loudness |
Loudness of the noise. If MaxRange is non-zero, modifies MaxRange, otherwise modifies the squared distance of the sensor's range. |
Instigator |
Actor that triggered the noise. |
MaxRange |
Max range at which the sound can be heard, multiplied by Loudness. Values <= 0 mean no limit (still limited by listener's range however). |
Tag |
Identifier for the event. |