AController::GetViewTarget

Get the actor the controller is looking at

Windows
MacOS
Linux

Override Hierarchy

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

Syntax

virtual AActor * GetViewTarget() const

Remarks

Get the actor the controller is looking at

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss