Navigation
API > API/Runtime > API/Runtime/SlateCore
Represents the appearance of an SProgressBar
| Name | FProgressBarStyle |
| Type | struct |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Styling/SlateTypes.h |
| Include Path | #include "Styling/SlateTypes.h" |
Syntax
USTRUCT (BlueprintType )
struct FProgressBarStyle : public FSlateWidgetStyle
Inheritance Hierarchy
- FSlateWidgetStyle → FProgressBarStyle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FProgressBarStyle() |
Styling/SlateTypes.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FProgressBarStyle() |
Styling/SlateTypes.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TypeName | const FName | Styling/SlateTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BackgroundImage | FSlateBrush | Background image to use for the progress bar | Styling/SlateTypes.h |
|
| EnableFillAnimation | bool | Enables a simple animation on the fill image to give the appearance that progress has not stalled. | Styling/SlateTypes.h |
|
| FillImage | FSlateBrush | Foreground image to use for the progress bar | Styling/SlateTypes.h |
|
| MarqueeImage | FSlateBrush | Image to use for marquee mode | Styling/SlateTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FProgressBarStyle & SetBackgroundImage
(
const FSlateBrush& InBackgroundImage |
Styling/SlateTypes.h | ||
FProgressBarStyle & SetEnableFillAnimation
(
bool InEnableFillAnimation |
Styling/SlateTypes.h | ||
FProgressBarStyle & SetFillImage
(
const FSlateBrush& InFillImage |
Styling/SlateTypes.h | ||
FProgressBarStyle & SetMarqueeImage
(
const FSlateBrush& InMarqueeImage |
Styling/SlateTypes.h | ||
void UnlinkColors () |
Unlinks all colors in this style. | Styling/SlateTypes.h |
Overridden from FSlateWidgetStyle
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void GetResources
(
TArray< const FSlateBrush* >& OutBrushes |
Gets the brush resources associated with this style. | Styling/SlateTypes.h | |
virtual const FName GetTypeName() |
Gets the name of this style.This method must be implemented by inherited structures. | Styling/SlateTypes.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FProgressBarStyle & GetDefault() |
Styling/SlateTypes.h |