SProgressBar

A progress bar widget.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Notifications/SProgressBar.h

Include

#include "Widgets/Notifications/SProgressBar.h"

Syntax

class SProgressBar : public SLeafWidget

Remarks

A progress bar widget.

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Construct the widget

Public function

void

 

SetBackgroundImage

(
    const FSlateBrush* InBackgroun...
)

See attribute BackgroundImage

Public function

void

 

SetBarFillType

(
    EProgressBarFillType::Type InBarFil...
)

See attribute BarFillType

Public function

void

 

SetBorderPadding

(
    TAttribute< FVector2D > InBorderPad...
)

See attribute BorderPadding

Public function

void

 

SetFillColorAndOpacity

(
    TAttribute< FSlateColor > InFillCol...
)

See attribute SetFillColorAndOpacity

Public function

void

 

SetFillImage

(
    const FSlateBrush* InFillImage
)

See attribute FillImage

Public function

void

 

SetMarqueeImage

(
    const FSlateBrush* InMarqueeIm...
)

See attribute MarqueeImage

Public function

void

 

SetPercent

(
    TAttribute< TOptional< float > > In...
)

See attribute Percent

Public function

void

 

SetStyle

(
    const FProgressBarStyle* InSty...
)

See attribute Style

Overridden from SWidget

Name Description

Public function Virtual Const

FVector2D

 

ComputeDesiredSize

(
    float
)

Overwritten from SWidget.

Public function Virtual Const

bool

 

ComputeVolatility()

Recomputes the volatility of the widget.

Public function Virtual Const

int32

 

OnPaint

(
    const FPaintArgs& Args,
    const FGeometry& AllottedGeometry,
    const FSlateRect& MyCullingRect,
    FSlateWindowElementList& OutDrawEl...,
    int32 LayerId,
    const FWidgetStyle& InWidgetStyle,
    bool bParentEnabled
)

Overwritten from SWidget.

Classes

Name

Description

Public struct

FArguments

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