Navigation
API > API/Plugins > API/Plugins/CommonUI
Inheritance Hierarchy
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/CommonLoadGuard.h |
| Include | #include "CommonLoadGuard.h" |
Syntax
class SLoadGuard : public SCompoundWidget
Constructors
| Type | Name | Description | |
|---|---|---|---|
SLoadGuard () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| TSharedRef< SBorder > | |||
| void | GuardAndLoadAsset
(
const TSoftObjectPtr< UObject >& InLazyAsset, |
Displays the loading spinner until the asset is loaded Will pass a casted pointer to the given asset in the lambda callback - could be nullptr if you provide an incompatible type or invalid asset. | |
| void | GuardAndLoadAsset
(
const TSoftObjectPtr< UObject >& InLazyAsset, |
||
| bool | IsLoading () |
||
| void | SetContent
(
const TSharedRef< SWidget >& InContent |
||
| void | SetForceShowSpinner
(
bool bInForceShowSpinner |
||
| void | SetGuardBackgroundBrush
(
const FSlateBrush* InGuardBackground |
||
| void | SetGuardText
(
const FText& InText |
||
| void | SetGuardTextStyle
(
const FTextBlockStyle& InGuardTextStyle |
||
| void | SetThrobberHAlign
(
EHorizontalAlignment InHAlign |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float LayoutScaleMultiplier |
Compute the ideal size necessary to display this widget. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |