Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/UPawnSensingComponent
Description
@Returns true if sensor can hear this noise. Only executed if the noise has been determined to be relevant (via IsNoiseRelevant)
| Name | CanHear |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Classes/Perception/PawnSensingComponent.h |
| Include Path | #include "Perception/PawnSensingComponent.h" |
| Source | /Engine/Source/Runtime/AIModule/Private/Perception/PawnSensingComponent.cpp |
virtual bool CanHear
(
const FVector & NoiseLoc,
float Loudness,
bool bFailedLOS
) const