Navigation
API > API/Plugins > API/Plugins/VPUtilities > API/Plugins/VPUtilities/Widgets
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UVPAssetThumbnailWrapperWidget
References
| Module | VPUtilities |
| Header | /Engine/Plugins/Experimental/VirtualProductionUtilities/Source/VPUtilities/Public/Widgets/VPAssetThumbnailWrapperWidget.h |
| Include | #include "Widgets/VPAssetThumbnailWrapperWidget.h" |
Syntax
UCLASS&40;DisplayName&61;"Asset Thumbnail Widget &40;Editor & Game&41;"&41;
class UVPAssetThumbnailWrapperWidget : public UWidget
Remarks
Version of UAssetThumbnailWidget that compiles in packaged games. In editor builds, a thumbnail widget is displayed. In packaged builds, a fallback SImage is displayed.
Functions
| Type | Name | Description | |
|---|---|---|---|
| UObject * | Gets the widget used for displaying in editor. | ||
| FIntPoint | |||
| FSlateBrush | |||
| void | SetAsset
(
const FAssetData& AssetData |
Sets the asset to display. Has no effect in non-editor builds. | |
| void | SetAssetByObject
(
UObject* Object |
Sets the asset to display. Has no effect in non-editor builds. | |
| void | SetDisplayMode
(
EAssetThumbnailDisplayMode Mode |
Sets the display mode. | |
| void | SetEditorThumbnailResolution
(
const FIntPoint& NewResolution |
Sets the resolution of the editor thumbnail | |
| void | SetFallbackBrush
(
const FSlateBrush& NewFallbackBrush |
Sets the fallback image to display. |
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 |