Navigation
API > API/Editor > API/Editor/UMGEditor > API/Editor/UMGEditor/Components
Inheritance Hierarchy
- UWidget
- UAssetThumbnailWidget
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/Components/AssetThumbnailWidget.h |
| Include | #include "Components/AssetThumbnailWidget.h" |
Syntax
UCLASS ()
class UAssetThumbnailWidget : public UWidget
Remarks
This widget can be given an asset and it will render its thumbnail. Editor-only.
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FText | |||
| FIntPoint | Gets the resolution of the rendered thumbnail. | ||
| FAssetThumbnailWidgetSettings | |||
| TSharedRef< SWidget > | |||
| void | ReleaseSlateResources
(
bool bReleaseChildren |
||
| 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 |
||
| void |