Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
UFUNCTION (BlueprintCallable, Category="Game|Player", Meta=(Keywords="Camera"))
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
| 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. |