Navigation
API > API/Editor > API/Editor/UMGEditor
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/WidgetBlueprintEditorUtils.h |
| Include | #include "WidgetBlueprintEditorUtils.h" |
Syntax
class FWidgetBlueprintEditorUtils
Functions
| Type | Name | Description | |
|---|---|---|---|
| EDesignPreviewSizeMode | ConvertThumbnailSizeModeToDesignerSizeMode
(
EThumbnailPreviewSizeMode ThumbnailSizeMode, |
||
| void | CopyWidgets
(
UWidgetBlueprint* BP, |
||
| void | CreateWidgetContextMenu
(
FMenuBuilder& MenuBuilder, |
||
| void | CutWidgets
(
TSharedRef< FWidgetBlueprintEditor > BlueprintEditor, |
||
| void | DeleteWidgets
(
TSharedRef< FWidgetBlueprintEditor > BlueprintEditor, |
||
| TOptional< FWidgetThumbnailProperties > | DrawSWidgetInRenderTarget
(
UUserWidget* WidgetInstance, |
||
| TOptional< FWidgetThumbnailProperties > | DrawSWidgetInRenderTargetForThumbnail
(
UUserWidget* WidgetInstance, |
||
| TOptional< FWidgetThumbnailProperties > | DrawSWidgetInRenderTargetForThumbnail
(
UUserWidget* WidgetInstance, |
||
| TArray< UWidget * > | DuplicateWidgets
(
TSharedRef< FWidgetBlueprintEditor > BlueprintEditor, |
||
| void | ExportPropertiesToText
(
UObject* Object, |
Exports the individual properties of an object to text and stores them in a map. | |
| void | ExportWidgetsToText
(
TArray< UWidget* > WidgetsToExport, |
||
| void | FindAllAncestorNamedSlotHostWidgetsForContent
(
TArray< FWidgetReference >& OutSlotHostWidgets, |
||
| UWidgetTree * | FindLatestWidgetTree
(
UWidgetBlueprint* Blueprint, |
||
| TScriptInterface< INamedSlotInterface > | FindNamedSlotHostForContent
(
UWidget* WidgetTemplate, |
||
| UWidget * | FindNamedSlotHostWidgetForContent
(
UWidget* WidgetTemplate, |
||
| FText | GetPaletteCategory
(
const FAssetData& WidgetAsset, |
||
| FText | GetPaletteCategory
(
const TSubclassOf< UWidget > Widget |
||
| UWidgetEditingProjectSettings * | GetRelevantMutableSettings
(
TWeakPtr< FWidgetBlueprintEditor > CurrentEditor |
||
| const UWidgetEditingProjectSettings * | GetRelevantSettings
(
TWeakPtr< FWidgetBlueprintEditor > CurrentEditor |
||
| TTuple< float, FVector2D > | GetThumbnailImageScaleAndOffset
(
FVector2D WidgetSize, |
||
| TTuple< FVector2D, FVector2D > | GetWidgetPreviewAreaAndSize
(
UUserWidget* UserWidget, |
||
| float | GetWidgetPreviewDPIScale
(
UUserWidget* UserWidget, |
||
| FVector2D | GetWidgetPreviewUnScaledCustomSize
(
FVector2D DesiredSize, |
||
| UWidget * | GetWidgetTemplateFromDragDrop
(
UWidgetBlueprint* Blueprint, |
||
| void | ImportPropertiesFromText
(
UObject* Object, |
Attempts to import any property in the map and apply it to a property with the same name on the object. | |
| void | ImportWidgetsFromText
(
UWidgetBlueprint* BP, |
||
| bool | IsBindWidgetAnimProperty
(
FProperty* InProperty, |
||
| bool | IsBindWidgetAnimProperty
(
FProperty* InProperty |
||
| bool | IsBindWidgetProperty
(
FProperty* InProperty, |
||
| bool | IsBindWidgetProperty
(
FProperty* InProperty |
||
| bool | IsUsableWidgetClass
(
const UClass* WidgetClass, |
||
| TArray< UWidget * > | PasteWidgets
(
TSharedRef< FWidgetBlueprintEditor > BlueprintEditor, |
||
| bool | RemoveNamedSlotHostContent
(
UWidget* WidgetTemplate, |
||
| bool | RenameWidget
(
TSharedRef< class FWidgetBlueprintEditor > BlueprintEditor, |
||
| void | ReplaceDesiredFocus
(
TSharedRef< FWidgetBlueprintEditor > BlueprintEditor, |
||
| bool | ReplaceNamedSlotHostContent
(
UWidget* WidgetTemplate, |
||
| void | SetDesiredFocus
(
TSharedRef< FWidgetBlueprintEditor > BlueprintEditor, |
||
| void | SetTextureAsAssetThumbnail
(
UWidgetBlueprint* WidgetBlueprint, |
||
| int32 | UpdateHittestGrid
(
FHittestGrid& HitTestGrid, |
||
| bool | VerifyWidgetRename
(
TSharedRef< class FWidgetBlueprintEditor > BlueprintEditor, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FUsableWidgetClassResult | |||
| FWidgetThumbnailProperties |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| TValueOrError< FUsableWidgetClassResult, void > | IsUsableWidgetClass
(
const FAssetData& WidgetAsset |
This function has been deprecated. Use the version of IsUsableWidgetClass that takes a second argument of TSharedRef |
|
| bool | IsUsableWidgetClass
(
const UClass* WidgetClass |
This function has been deprecated. Use the version of IsUsableWidgetClass that takes a second argument of TSharedRef |
|
| TValueOrError< FUsableWidgetClassResult, void > | IsUsableWidgetClass
(
const FAssetData& WidgetAsset, |
This function has been deprecated. Use the version of IsUsableWidgetClass that takes a second argument of TSharedRef |