Payback 0.0.1
CK Graduation Project
로딩중...
검색중...
일치하는것 없음
FloatingHeartInstanceWidget.h
이 파일의 문서화 페이지로 가기
1// Fill out your copyright notice in the Description page of Project Settings.
2
3#pragma once
4
5#include "CK_UE.h"
6#include "Blueprint/UserWidget.h"
7#include "FloatingHeartInstanceWidget.generated.h"
8
10
12UCLASS(Abstract, Blueprintable, BlueprintType, meta = (DisableNativeTick))
13class CK_UE_API UFloatingHeartInstanceWidget : public UUserWidget
14{
15 GENERATED_BODY()
16
17public:
18 bool PlayHeart(float PlaybackSpeed, const FFloatingHeartTableRow& Settings, const FVector2D& TravelArea, int32 RandomSeed);
19 void UpdateHeart(double CurrentTime);
20 void StopHeart();
21
22public:
23 UFUNCTION(BlueprintPure, Category = "FloatingHeart")
24 FORCEINLINE bool IsHeartPlaying() const
25 {
26 return bPlaying;
27 }
28
29protected:
30 virtual void NativeConstruct() override;
31 virtual void NativeDestruct() override;
32
33protected:
34 UPROPERTY(Transient, BlueprintReadOnly, Category = "FloatingHeart")
35 bool bPlaying = false;
36
37private:
38 double StartTime = 0.0;
39 double Lifetime = 1.0;
40 float RiseSpeed = 0.0f;
41 float StartOffsetX = 0.0f;
42 float DriftX = 0.0f;
43 float SwayAmplitude = 0.0f;
44 float SwayPhase = 0.0f;
45 float SwayFrequency = 0.0f;
46 float StartScale = 1.0f;
47 float EndScale = 1.0f;
48 float StartAngle = 0.0f;
49 float RotationAmplitude = 0.0f;
50 float RotationDrift = 0.0f;
51 float BaseOpacity = 1.0f;
52 float FadeStart = 0.5f;
53};
Definition FloatingHeartInstanceWidget.h:14
Definition DT_FloatingHeartTable.h:10
float Lifetime
Definition DT_FloatingHeartTable.h:27