UProgressBar

The progress bar widget is a simple bar that fills up that can be restyled to fit any number of uses.

Windows
MacOS
Linux

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

Name Description

Public variable

TEnumAsByte< EP...

 

BarFillType

Defines if this progress bar fills Left to right or right to left

Public variable

bool

 

bIsMarquee

Public variable

FVector2D

 

BorderPadding

Public variable

FLinearColor

 

FillColorAndOpacity

Fill Color and Opacity

Public variable

FGetLinearColor

 

FillColorAndOpacityDelegate

Protected variable

FSlateColor

 

K2_Cache_FillColorAndOpacity

Protected variable

TSharedPtr< SPr...

 

MyProgressBar

Native Slate Widget

Public variable

float

 

Percent

Used to determine the fill position of the progress bar ranging 0..1

Public variable

FGetFloat

 

PercentDelegate

A bindable delegate to allow logic to drive the text of the widget

Public variable

FProgressBarSty...

 

WidgetStyle

The progress bar style

Constructors

Name Description

Public function

UProgressBar

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

FSlateColor

 

K2_Gate_FillColorAndOpacity()

Public function

void

 

SetFillColorAndOpacity

(
    FLinearColor InColor
)

Sets the fill color of the progress bar.

Public function

void

 

SetIsMarquee

(
    bool InbIsMarquee
)

Sets the progress bar to show as a marquee.

Public function

void

 

SetPercent

(
    float InPercent
)

Sets the current value of the ProgressBar.

Overridden from UWidget

Name Description

Public function Virtual

const FText

 

GetPaletteCategory()

Gets the palette category of the widget

Public function Virtual

void

 

OnCreationFromPalette()

Called by the palette after constructing a new widget, allows the widget to perform interesting default setup that we don't want to be UObject Defaults.

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

Public function Virtual

void

 

SynchronizeProperties()

Applies all properties to the native widget if possible.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Deprecated Variables

Name Description

Public variable

USlateBrushAsse...

 

BackgroundImage_DEPRECATED

The brush to use as the background of the progress bar

Public variable

USlateBrushAsse...

 

FillImage_DEPRECATED

The brush to use as the fill image

Public variable

USlateBrushAsse...

 

MarqueeImage_DEPRECATED

The brush to use as the marquee image

Public variable

USlateWidgetSty...

 

Style_DEPRECATED

Style used for the progress bar

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss