Navigation
Unreal Engine C++ API Reference > Runtime > Engine > GameFramework > APlayerController
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 |
virtual void SetViewTargetWithBlend
&40;
class AActor &42; NewViewTarget,
float BlendTime,
enum EViewTargetBlendFunction BlendFunc,
float BlendExp,
bool bLockOutgoing
&41;
Remarks
Set the view target blending with variable control
Parameters
Name | 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. |