APlayerCameraManager::SetViewTarget

Sets a new ViewTarget.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Camera/PlayerCameraManager.h

Include

#include "Camera/PlayerCameraManager.h"

Source

/Engine/Source/Runtime/Engine/Private/PlayerCameraManager.cpp

Syntax

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

Remarks

Sets a new ViewTarget.

Parameters

Parameter

Description

NewViewTarget

New viewtarget actor.

TransitionParams

Optional parameters to define the interpolation from the old viewtarget to the new. Transition will be instant by default.

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