SCircularThrobber

A throbber widget that orients images in a spinning circle.

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.

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

Overridden from SWidget

Name Description

Public function Virtual Const

FVector2D

 

ComputeDesiredSize

(
    float
)

Overwritten from SWidget.

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

Constants

Name

Description

MinimumPeriodValue

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