UPawnSensingComponent::CanHear

True if sensor can hear this noise.

Windows
MacOS
Linux

References

Module

AIModule

Header

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

Include

#include "Perception/PawnSensingComponent.h"

Source

/Engine/Source/Runtime/AIModule/Private/Perception/PawnSensingComponent.cpp

Syntax

virtual bool CanHear
(
    const FVector & NoiseLoc,
    float Loudness,
    bool bFailedLOS
) const

Remarks

True if sensor can hear this noise. Only executed if the noise has been determined to be relevant (via IsNoiseRelevant)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss