Navigation
API > API/Runtime > API/Runtime/UMG
A throbber widget that orients images in a spinning circle.
- No Children
- Spinner Progress
| Name | UCircularThrobber |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/CircularThrobber.h |
| Include Path | #include "Components/CircularThrobber.h" |
Syntax
UCLASS (MinimalAPI)
class UCircularThrobber : public UWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UCircularThrobber
Implements Interfaces
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UCircularThrobber
(
const FObjectInitializer& ObjectInitializer |
Components/CircularThrobber.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Image | FSlateBrush | The throbber image. | Components/CircularThrobber.h |
|
| NumberOfPieces | int32 | How many pieces there are | Components/CircularThrobber.h |
|
| Period | float | The amount of time for a full circle (in seconds) | Components/CircularThrobber.h |
|
| Radius | float | The radius of the circle. | Components/CircularThrobber.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bEnableRadius | bool | Components/CircularThrobber.h |
|
|
| MyCircularThrobber | TSharedPtr< SCircularThrobber > | The CircularThrobber widget managed by this object. | Components/CircularThrobber.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FSlateBrush & GetImage() |
Components/CircularThrobber.h | ||
int32 GetNumberOfPieces() |
Components/CircularThrobber.h |
|
|
float GetPeriod() |
Components/CircularThrobber.h |
|
|
float GetRadius() |
Components/CircularThrobber.h |
|
|
void SetImage
(
const FSlateBrush& InRadius |
Sets the throbber image. | Components/CircularThrobber.h | |
void SetNumberOfPieces
(
int32 InNumberOfPieces |
Sets how many pieces there are. | Components/CircularThrobber.h |
|
void SetPeriod
(
float InPeriod |
Sets the amount of time for a full circle (in seconds). | Components/CircularThrobber.h |
|
void SetRadius
(
float InRadius |
Sets the radius of the circle. | Components/CircularThrobber.h |
|
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText GetPaletteCategory() |
Gets the palette category of the widget | Components/CircularThrobber.h | |
virtual void SynchronizeProperties () |
Applies all properties to the native widget if possible. | Components/CircularThrobber.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/CircularThrobber.h |
Protected
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | Components/CircularThrobber.h |