Navigation
API > API/Editor > API/Editor/UMGEditor > API/Editor/UMGEditor/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UAssetThumbnailWidget
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/Components/AssetThumbnailWidget.h |
| Include | #include "Components/AssetThumbnailWidget.h" |
Syntax
class UAssetThumbnailWidget : public UWidget
Remarks
This widget can be given an asset and it will render its thumbnail. Editor-only.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FIntPoint | Gets the resolution of the rendered thumbnail. | ||
| FAssetThumbnailWidgetSettings | |||
| void | SetAsset
(
const FAssetData& AssetData |
||
| void | SetAssetByObject
(
UObject* Object |
||
| void | SetResolution
(
const FIntPoint& InResolution |
Sets the resolution for the rendered thumbnail. | |
| void | SetThumbnailSettings
(
const FAssetThumbnailWidgetSettings& InThumbnailSettings |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |