SCircularThrobber

A throbber widget that orients images in a spinning circle.

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Images/SThrobber.h

Include

#include "Widgets/Images/SThrobber.h"

Syntax

class SCircularThrobber : public SLeafWidget

Remarks

A throbber widget that orients images in a spinning circle.

Constructors

Name Description

Public function

SCircularThrobber()

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Constructs the widget

Public function

void

 

SetNumPieces

(
    int32 InNumPieces
)

Sets how many pieces there are

Public function

void

 

SetPeriod

(
    float InPeriod
)

Sets the amount of time in seconds for a full circle

Public function

void

 

SetPieceImage

(
    const FSlateBrush* InPieceImag...
)

Sets what each segment of the throbber looks like

Public function

void

 

SetRadius

(
    float InRadius
)

Sets the radius of the circle

Public function Static

const FSlate...

 

StaticWidgetClass()

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.

Overridden from FSlateControlledConstruction

Name Description

Public function Virtual Const

const FSlate...

 

GetWidgetClass()

Classes

Name

Description

Public struct

FArguments

Typedefs

Constants

Name

Description

MinimumPeriodValue