5#include "CoreMinimal.h"
6#include "GameFramework/Actor.h"
7#include "PoseSnapshot.h"
8#include "KillCameraActor.generated.h"
10class UCameraComponent;
12class USpringArmComponent;
26 UFUNCTION(BlueprintCallable)
27 void SetKillerPivotPoint(FVector NewPivotPoint) { ActorPivotPoint = NewPivotPoint; }
28 UFUNCTION(BlueprintCallable)
29 void SetWidgetPlacementPivot(FVector NewWidgetPlacementPivot) { WidgetPlacementPivot = NewWidgetPlacementPivot; }
30 UFUNCTION(BlueprintCallable)
31 void UpdateSpringArmLength(
float Length);
33 UFUNCTION(BlueprintCallable)
34 UCameraComponent* GetCamera()
const {
return Camera; }
35 UFUNCTION(BlueprintCallable)
36 USpringArmComponent* GetSpringArm()
const {
return SpringArm; }
38 UFUNCTION(BlueprintImplementableEvent)
44 UFUNCTION(BlueprintCallable)
45 const FPoseSnapshot& GetSnapShotPose()
const {
return PoseSnapShot; }
58 UFUNCTION(BlueprintImplementableEvent)
59 void OnKillerFocused();
61 FVector WidgetPlacementPivot = FVector::ZeroVector;
64 TArray<UMeshComponent*> KillCamActorMeshes;
65 UPROPERTY(BlueprintReadOnly)
66 FBoxSphereBounds KillerBounds = FBoxSphereBounds();
67 UPROPERTY(BlueprintReadOnly)
68 FVector ActorPivotPoint = FVector::ZeroVector;
70 UPROPERTY(EditDefaultsOnly)
71 UCameraComponent* Camera;
72 UPROPERTY(EditDefaultsOnly)
73 USpringArmComponent* SpringArm;
74 UPROPERTY(EditDefaultsOnly)
75 USceneComponent* Root;
Definition: KillCameraActor.h:19
void SetKillerBounds(FBoxSphereBounds NewBounds)
Definition: KillCameraActor.h:47
void ForceSkeletalMeshUpdate(USkeletalMeshComponent *Mesh)
FBoxSphereBounds GetKillerBounds() const
Definition: KillCameraActor.h:48
FVector GetWidgetPlacementPivot() const
Definition: KillCameraActor.h:49
FPoseSnapshot PoseSnapShot
Definition: KillCameraActor.h:51
Definition: ProjectXCharacter.h:128
virtual void BeginPlay() override
Definition: ProjectXCharacter.cpp:179
Definition: ProjectXPlayerState.h:238
Definition: ProjectXDamageType.h:62