Navigation
API > API/Plugins > API/Plugins/UMGWidgetPreview
| Name | IWidgetPreviewToolkit |
| Type | class |
| Header File | /Engine/Plugins/Editor/UMGWidgetPreview/Source/UMGWidgetPreview/Public/IWidgetPreviewToolkit.h |
| Include Path | #include "IWidgetPreviewToolkit.h" |
Syntax
class IWidgetPreviewToolkit
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IWidgetPreviewToolkit() |
IWidgetPreviewToolkit.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnSelectedObjectsChanged | TMulticastDelegate< void(const TConstArrayView< TWeakObjectPtr< UObject > >)> | IWidgetPreviewToolkit.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TSharedPtr< FLayoutExtender > GetLayoutExtender() |
IWidgetPreviewToolkit.h | ||
UWidgetPreview * GetPreview() |
IWidgetPreviewToolkit.h | ||
UWorld * GetPreviewWorld() |
Returns the Preview World. | IWidgetPreviewToolkit.h | |
TConstArrayView< TWeakObjectPtr< UObject > > GetSelectedObjects() |
Gets the "selected" objects, primarily used to display details for a given object/s other than the preview asset itself. | IWidgetPreviewToolkit.h | |
FOnSelectedObjectsChanged & OnSelectedObjectsChanged() |
IWidgetPreviewToolkit.h | ||
void SetSelectedObjects
(
const TArray< TWeakObjectPtr< UObject > >& InObjects |
Sets the selected objects. When empty, this will reset to the Preview asset. | IWidgetPreviewToolkit.h |