31 virtual void EndPlay(
const EEndPlayReason::Type EndPlayReason)
override;
33 FTransform GetEffectTransform()
const;
36 void ForceEndAllEffects();
37 void RemoveCameraEffect(int32 SectionID);
38 void SetEffectEvaluationSeconds(int32 SectionID,
double Seconds);
40 void ApplyCameraMotion(FMinimalViewInfo& View,
float DeltaSeconds);
45 return NextEffectID++;
51 return CameraEffectMap.IsEmpty() ==
false;
57 return Rotation + RuntimeRotationOffset;
63 return RuntimeRotationOffset;
69 RuntimeRotationOffset = Value;
75 RuntimeRotationOffset = FVector::ZeroVector;
81 FocusTargetActor = Actor;
87 return FocusTargetActor.Get();
93 FocusTargetActor.Reset();
97 UFUNCTION(BlueprintCallable, Category =
"Camera|Effect")
101 UFUNCTION(BlueprintCallable, Category = "Camera|Effect")
102 void OnStartCameraEffects(const int32 SectionID);
104 UFUNCTION(BlueprintCallable, Category = "Camera|Effect")
105 void OnEndCameraEffects(const int32 SectionID);
107 UFUNCTION(BlueprintCallable, Category = "Camera|Effect")
108 void OnExecuteCameraEffects(const int32 SectionID);
110 UFUNCTION(BlueprintCallable, Category = "Camera")
114 APlayerController* GetEffectController() const;
117 UPROPERTY(EditAnywhere, Interp, BlueprintReadWrite, Category = "Camera")
118 FVector Position = FVector::ZeroVector;
120 UPROPERTY(EditAnywhere, Interp, BlueprintReadWrite, Category = "Camera")
121 FVector Rotation = FVector::ZeroVector;
123 UPROPERTY(EditAnywhere, Interp, BlueprintReadWrite, Category = "Camera")
124 float WorldTimeScale = 1.0f;
126 UPROPERTY(EditAnywhere, Interp, BlueprintReadWrite, Category = "Camera")
127 float FieldOfViewOffset = 0.0f;
129 UPROPERTY(EditAnywhere, Interp, BlueprintReadWrite, Category = "Camera")
130 float TrackingSpeedMultiplier = 1.0f;
132 UPROPERTY(EditAnywhere, Interp, BlueprintReadWrite, Category = "Camera")
133 bool bStopMovement = false;
135 UPROPERTY(EditAnywhere, Interp, BlueprintReadWrite, Category = "Camera")
136 bool bStopRotation = false;
139 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Shake")
143 int32 NextEffectID = 1;
147 FVector RuntimeRotationOffset = FVector::ZeroVector;
150 TWeakObjectPtr<AActor> FocusTargetActor;
Definition CameraPostProcessComponent.h:34