6#include "ProgressBarLayer.generated.h"
9class UMaterialInterface;
10class UMaterialInstanceDynamic;
56 virtual void Initialize(TObjectPtr<ULayoutComponent> Component)
override;
61 virtual void PostEditChangeProperty(
struct FPropertyChangedEvent& PropertyChangedEvent)
override;
63 virtual void SynchronizeProperties()
override;
69 UFUNCTION(Category=
"ProgressBar", BlueprintCallable)
70 virtual void SetPercent(
const float InPercent);
72 UFUNCTION(Category=
"ProgressBar", BlueprintCallable)
73 virtual float AddPercent(
const float Value);
75 UFUNCTION(Category=
"ProgressBar", BlueprintCallable)
76 virtual float SubtractPercent(
const float Value);
97 FSoftObjectPath FillMaterial;
101 FLinearColor FillColor;
126 int32 CircleResolution;
131 uint8 bDrawBackground:1;
135 FSlateBrush BackgroundBrush;
139 FLinearColor BackgroundColor;
143 float BackgroundRadius;
147 float BackgroundThickness;
152 uint8 bOverrideMaterial:1;
166 uint8 bAntiAliasing:1;
170 TObjectPtr<UMaterialInstanceDynamic> MaterialInstance;
174#if WITH_EDITORONLY_DATA
176 TObjectPtr<UMaterialInterface> PreviewMaterial;
BlueprintType
Definition ComponentDecorator_Animation.h:40
EProgressFillStyle
Definition ProgressBarLayer.h:30
@ Draw
Definition ProgressBarLayer.h:43
@ Masked
Definition ProgressBarLayer.h:37
@ Scale
Definition ProgressBarLayer.h:33
@ Material
Definition ProgressBarLayer.h:40
EProgressFillType
Definition ProgressBarLayer.h:14
@ CircularCenter
Definition ProgressBarLayer.h:24
@ FromCenter
Definition ProgressBarLayer.h:17
@ BottomToTop
Definition ProgressBarLayer.h:21
@ CounterClockwise
Definition ProgressBarLayer.h:23
@ FromCenterVertical
Definition ProgressBarLayer.h:19
@ RightToLeft
Definition ProgressBarLayer.h:16
@ Clockwise
Definition ProgressBarLayer.h:22
@ LeftToRight
Definition ProgressBarLayer.h:15
@ TopToBottom
Definition ProgressBarLayer.h:20
@ FromCenterHorizontal
Definition ProgressBarLayer.h:18
Definition SProgressBarLayer.h:14
UComponentDecorator()
Definition ComponentDecorator.cpp:19
virtual TSharedRef< SWidget > CreateWidgetInstance() override
Definition ProgressBarLayer.cpp:72
Category
Definition ProgressBarLayer.h:66
virtual BlueprintPure float GetPercent()
Definition ProgressBarLayer.h:67
EditAnywhere
Definition ProgressBarLayer.h:84
UProgressBarLayer()
Definition ProgressBarLayer.cpp:12
virtual void Initialize(TObjectPtr< ULayoutComponent > Component) override
Definition ProgressBarLayer.cpp:54
BlueprintCallable
Definition ProgressBarLayer.h:66
BlueprintReadOnly
Definition ProgressBarLayer.h:84
virtual void BeginDestroy() override
Definition ProgressBarLayer.cpp:44
meta
Definition ProgressBarLayer.h:84