Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Controller.h |
| Include | #include "GameFramework/Controller.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Controller.cpp |
virtual bool LineOfSightTo
&40;
const class AActor &42; Other,
FVector ViewPoint,
bool bAlternateChecks
&41; const
Remarks
Checks line to center and top of 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. If vect(0,0,0) passed in, uses current viewtarget's eye position. |
| bAlternateChecks | used only in AIController implementation |