Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/Perception > API/Runtime/AIModule/Perception/UPawnSensingComponent
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 |
bool IsNoiseRelevant
&40;
const APawn & Pawn,
const UPawnNoiseEmitterComponent & NoiseEmitterComponent,
bool bSourceWithinNoiseEmitter
&41; const
Remarks
Test whether the noise is loud enough and recent enough to care about. bSourceWithinNoiseEmitter is true iff the noise was made by the pawn itself or within close proximity (its collision volume). Otherwise the noise was made at significant distance from the pawn.