5#include "CoreMinimal.h"
6#include "UObject/Object.h"
7#include "CameraMotionBlender.generated.h"
17 void BeginBlend(
float PosDuration,
float RotDuration,
float FieldOfViewOffsetDuration,
float TimeScaleDuration);
19 FVector AdvancePosition(
const FVector& Target,
float RealDeltaTime);
20 FVector AdvanceRotation(
const FVector& Target,
float RealDeltaTime);
21 float AdvanceFieldOfViewOffset(
float Target,
float RealDeltaTime);
22 float AdvanceTimeScale(
float Target,
float RealDeltaTime);
29 FVectorChannel(FVector From, FVector Current,
float Duration) : From(From), Current(Current), Duration(Duration) { }
32 void Begin(
float InDuration);
33 FVector Advance(
const FVector& Target,
float DeltaTime);
36 FVector From = FVector::ZeroVector;
37 FVector Current = FVector::ZeroVector;
39 float Duration = 0.0f;
46 FFloatChannel(
float InFrom,
float InCurrent,
float InDuration) : From(InFrom), Current(InCurrent), Duration(InDuration) { }
49 void Begin(
float InDuration);
50 float Advance(
float Target,
float DeltaTime);
56 float Duration = 0.0f;
Definition CameraMotionBlender.h:12
FVectorChannel PositionChannel
Definition CameraMotionBlender.h:60
FFloatChannel FieldOfViewOffsetChannel
Definition CameraMotionBlender.h:62
FVectorChannel RotationChannel
Definition CameraMotionBlender.h:61
Definition CameraMotionBlender.h:43
FFloatChannel(float InFrom, float InCurrent, float InDuration)
Definition CameraMotionBlender.h:46
Definition CameraMotionBlender.h:26
FVectorChannel(FVector From, FVector Current, float Duration)
Definition CameraMotionBlender.h:29