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 HasLineOfSightTo
&40;
const AActor &42; Other
&41; const
Remarks
Check line to other actor. true if controller's pawn can see Other actor.
Parameters
| Name | Description |
|---|---|
| Other | is the actor whose visibility is being checked. |
| ViewPoint | is eye position visibility is being checked from. |