Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/ProgressBar.h |
| Include | #include "Components/ProgressBar.h" |
Syntax
class UProgressBar : public UWidget
Remarks
The progress bar widget is a simple bar that fills up that can be restyled to fit any number of uses.
- No Children
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGetLinearColor | FillColorAndOpacityDelegate | ||
| FSlateColor | K2_Cache_FillColorAndOpacity | ||
| TSharedPtr< SProgressBar > | MyProgressBar | Native Slate Widget | |
| FGetFloat | PercentDelegate | A bindable delegate to allow logic to drive the text of the widget |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UProgressBar
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| EProgressBarFillStyle::Type | |||
| EProgressBarFillType::Type | |||
| FVector2D | |||
| FLinearColor | |||
| float | GetPercent () |
||
| const FProgressBarStyle & | |||
| FSlateColor | |||
| void | SetBarFillStyle
(
EProgressBarFillStyle::Type InBarFillStyle |
||
| void | SetBarFillType
(
EProgressBarFillType::Type InBarFillType |
||
| void | SetBorderPadding
(
FVector2D InBorderPadding |
||
| void | SetFillColorAndOpacity
(
FLinearColor InColor |
Sets the fill color of the progress bar. | |
| void | SetIsMarquee
(
bool InbIsMarquee |
Sets the progress bar to show as a marquee. | |
| void | SetPercent
(
float InPercent |
Sets the current value of the ProgressBar. | |
| void | SetWidgetStyle
(
const FProgressBarStyle& InStyle |
||
| bool | UseMarquee () |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| void | Called after constructing a new widget from the palette. | ||
| TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< EProgressBarFillStyle::Type > | BarFillStyle | Direct access to BarFillStyle is deprecated. Please use the getter or setter. | |
| TEnumAsByte< EProgressBarFillType::Type > | BarFillType | Direct access to BarFillType is deprecated. Please use the getter or setter. | |
| bool | bIsMarquee | Direct access to bIsMarquee is deprecated. Please use the getter or setter. | |
| FVector2D | BorderPadding | Direct access to BorderPadding is deprecated. Please use the getter or setter. | |
| FLinearColor | FillColorAndOpacity | Direct access to FillColorAndOpacity is deprecated. Please use the getter or setter. | |
| float | Percent | Direct access to Percent is deprecated. Please use the getter or setter. | |
| FProgressBarStyle | WidgetStyle | Direct access to WidgetStyle is deprecated. Please use the getter or setter. |