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 | |
|---|---|---|---|
| bool | CanPasteWidgetsExtension
(
TSet< FWidgetReference > SelectedWidgets |
||
| EDesignPreviewSizeMode | ConvertThumbnailSizeModeToDesignerSizeMode
(
EThumbnailPreviewSizeMode ThumbnailSizeMode, |
||
| void | CopyWidgets
(
UWidgetBlueprint* BP, |
||
| UUserWidget * | CreateUserWidgetFromBlueprint
(
UObject* Outer, |
||
| void | CreateWidgetContextMenu
(
FMenuBuilder& MenuBuilder, |
||
| void | CutWidgets
(
TSharedRef< FWidgetBlueprintEditor > BlueprintEditor, |
||
| void | DeleteWidgets
(
TSharedRef< FWidgetBlueprintEditor > BlueprintEditor, |
||
| void | DestroyUserWidget
(
UUserWidget* UserWidget |
Performs cleanup on the specified UserWidget. | |
| bool | |||
| 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, |
||
| UWidgetBlueprint * | GetWidgetBlueprintFromWidget
(
const UWidget* Widget |
||
| 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 | IsAnySelectedWidgetLocked
(
TSet< FWidgetReference > SelectedWidgets |
||
| bool | IsBindWidgetAnimProperty
(
const FProperty* InProperty, |
||
| bool | IsBindWidgetAnimProperty
(
const FProperty* InProperty |
||
| bool | IsBindWidgetProperty
(
const FProperty* InProperty, |
||
| bool | IsBindWidgetProperty
(
const FProperty* InProperty |
||
| TValueOrError< FUsableWidgetClassResult, void > | IsUsableWidgetClass
(
const FAssetData& WidgetAsset |
||
| bool | IsUsableWidgetClass
(
const UClass* WidgetClass |
||
| bool | IsUsableWidgetClass
(
const UClass* WidgetClass, |
||
| TValueOrError< FUsableWidgetClassResult, void > | IsUsableWidgetClass
(
const FAssetData& WidgetAsset, |
||
| 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, |
||
| bool | ShouldPreventDropOnTargetExtensions
(
const UWidget* Target, |
||
| int32 | UpdateHittestGrid
(
FHittestGrid& HitTestGrid, |
||
| bool | VerifyWidgetRename
(
TSharedRef< class FWidgetBlueprintEditor > BlueprintEditor, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FCreateWidgetFromBlueprintParams | |||
| FUsableWidgetClassResult | |||
| FWidgetThumbnailProperties |