APlayerController::SetViewTarget

Set the view target

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h

Include

#include "GameFramework/PlayerController.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerController.cpp

Syntax

virtual void SetViewTarget
(
    class AActor * NewViewTarget,
    FViewTargetTransitionParams TransitionParams
)

Remarks

Set the view target

Parameters

Parameter

Description

A

new actor to set as view target

TransitionParams

parameters to use for controlling the transition

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