Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/AController
- AController::GetViewTarget()
- APlayerController::GetViewTarget()
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 |
UFUNCTION (BlueprintCallable, Category=Pawn)
virtual AActor * GetViewTarget() const
Remarks
Get the actor the controller is looking at