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 |
virtual bool ShouldCheckVisibilityOf
&40;
APawn &42; Pawn
&41; const
Remarks
Returns true if we should check whether the given Pawn is visible (because we can see things, the Pawn is not hidden, and if the Pawn is a player and we only see players)