Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
Include |
#include "GameFramework/PlayerController.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
virtual void SetViewTargetWithBlend
(
class AActor * NewViewTarget,
float BlendTime,
enum EViewTargetBlendFunction BlendFunc,
float BlendExp,
bool bLockOutgoing
)
Set the view target blending with variable control
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. |