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
UCLASS (MinimalAPI)
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 | |
|---|---|---|---|
| TEnumAsByte< EProgressBarFillStyle::Type > | BarFillStyle | Defines the visual style of the progress bar fill - scale or mask | |
| TEnumAsByte< EProgressBarFillType::Type > | BarFillType | Defines the direction in which the progress bar fills | |
| bool | bIsMarquee | ||
| FVector2D | BorderPadding | ||
| FLinearColor | FillColorAndOpacity | Fill Color and Opacity | |
| FGetLinearColor | FillColorAndOpacityDelegate | ||
| FSlateColor | K2_Cache_FillColorAndOpacity | ||
| TSharedPtr< SProgressBar > | MyProgressBar | Native Slate Widget | |
| float | Percent | Used to determine the fill position of the progress bar ranging 0..1 | |
| FGetFloat | PercentDelegate | A bindable delegate to allow logic to drive the text of the widget | |
| FProgressBarStyle | WidgetStyle | The progress bar style |
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 |