Choose your operating system:
Windows
macOS
Linux
| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/CommonUI/Source/CommonUI/Public/CommonLazyImage.h |
Include |
#include "CommonLazyImage.h" |
UCLASS()
class UCommonLazyImage : public UImage
A special Image widget that can show unloaded images and takes care of the loading for you!
UCommonLazyImage is another wrapper for SLoadGuard, but it only handles image loading and a throbber during loading.
If this class changes to show any text, by default it will have CoreStyle styling
Name | Description | |
---|---|---|
|
UCommonLazyImage ( |
Name | Description | ||
---|---|---|---|
|
IsLoading() |
||
|
FOnLoadGuard... |
OnLoadingStateChanged() |
|
|
TSharedRef< ... |
RebuildImageWidget() |
|
|
SetBrushFromLazyDisplayAsset ( |
Set the brush from a string asset ref only - expects the referenced asset to be a texture or material. |
|
|
SetBrushFromLazyMaterial ( |
Set the brush from a lazy material asset pointer - will load the material as needed. |
|
|
SetBrushFromLazyTexture ( |
Set the brush from a lazy texture asset pointer - will load the texture as needed. |
|
|
SetIsLoading ( |
||
|
SetMaterialTextureParamName ( |
Establishes the name of the texture parameter on the currently applied brush material to which textures should be applied. |
Name | Description | ||
---|---|---|---|
|
CancelImageStreaming() |
Called when we need to abort the texture being streamed in. |
|
|
OnImageStreamingComplete ( |
Called when the image streaming completes. |
|
|
OnImageStreamingStarted ( |
Called when the image streaming starts, after the other one was cancelled. |
|
|
SetBrush ( |
||
|
SetBrushFromAsset ( |
||
|
SetBrushFromMaterial ( |
||
|
SetBrushFromTexture ( |
Sets the Brush to the specified Texture. |
|
|
SetBrushFromTextureDynamic ( |
Sets the Brush to the specified Dynamic Texture. |
Name | Description | ||
---|---|---|---|
|
const FText |
GetPaletteCategory() |
Gets the palette category of the widget |
|
OnWidgetRebuilt() |
Function called after the underlying SWidget is constructed. |
|
|
TSharedRef< ... |
RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. |
|
SynchronizeProperties() |
Applies all properties to the native widget if possible. |
Name | Description | ||
---|---|---|---|
|
ReleaseSlateResources ( |
Name | Description | ||
---|---|---|---|
|
CanEditChange ( |
Called by the editor to query whether a property of this object is allowed to be modified. |