APlayerController::SetViewTargetWithBlend

Set the view target blending with variable control

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 SetViewTargetWithBlend
(
    class AActor * NewViewTarget,
    float BlendTime,
    enum EViewTargetBlendFunction BlendFunc,
    float BlendExp,
    bool bLockOutgoing
)

Remarks

Set the view target blending with variable control

Parameters

Parameter

Description

NewViewTarget

new actor to set as view target

BlendTime

time taken to blend

BlendFunc

Cubic, Linear etc functions for blending

BlendExp

Exponent, used by certain blend functions to control the shape of the curve.

bLockOutgoing

If true, lock outgoing viewtarget to last frame's camera position for the remainder of the blend.

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