Navigation
API > API/Editor > API/Editor/UMGEditor
Inheritance Hierarchy
- IBlueprintEditor
- FGCObject
- FNotifyHook
- FTickableEditorObject
- FEditorUndoClient
- FNoncopyable
- FBlueprintEditor
- FWidgetBlueprintEditor
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/WidgetBlueprintEditor.h |
| Include | #include "WidgetBlueprintEditor.h" |
Syntax
class FWidgetBlueprintEditor : public FBlueprintEditor
Remarks
Widget blueprint editor (extends Blueprint editor)
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FUICommandList > | DesignerCommandList | Command list for handling widget actions in the WidgetBlueprintEditor | |
| FOnEnterWidgetDesigner | OnEnterWidgetDesigner | Fires after the mode change to Designer | |
| FOnHoveredWidgetCleared | OnHoveredWidgetCleared | Fires when there is no longer any widget being hovered over | |
| FOnHoveredWidgetSet | OnHoveredWidgetSet | Fires whenever a new widget is being hovered over | |
| FOnSelectedAnimationChanged | OnSelectedAnimationChanged | Fires whenever the selected animation changes | |
| FOnSelectedWidgetsChanged | OnSelectedWidgetsChanged | Fires whenever the selected set of widgets changes | |
| FOnSelectedWidgetsChanged | OnSelectedWidgetsChanging | Fires whenever the selected set of widgets changing | |
| FOnWidgetAnimationsUpdated | OnWidgetAnimationsUpdated | Notification for when the preview widget has been updated | |
| FOnWidgetPreviewUpdated | OnWidgetPreviewUpdated | Notification for when the preview widget has been updated | |
| FVector2D | PasteDropLocation | Paste Metadata | |
| TArray< TSharedPtr< FUICommandInfo > > | ToolPaletteCommands | Commands for switching between tool palettes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| FWidgetBlueprintEditor::FOnEnterWidgetDesigner TBaseMulticastDelegate_NoParams |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddCreateCompileTabSubMenu
(
FMenuBuilder& InMenuBuilder |
||
| void | AddDismissCompileTabSubMenu
(
FMenuBuilder& InMenuBuilder |
||
| void | AddExternalEditorWidget
(
FName ID, |
Adds external widget whose lifetime should be managed by this editor | |
| void | AddPostDesignerLayoutAction
(
TFunction< void()> Action |
||
| void | |||
| void | |||
| void | ChangeViewedAnimation
(
UWidgetAnimation& InAnimationToView |
Changes the currently viewed animation in Sequencer to the new one | |
| void | Removes removed widgets from the selection set. | ||
| void | |||
| void | |||
| TSharedPtr< FExtender > | |||
| TSharedRef< SWidget > | Creates a sequencer widget, for anim drawer | ||
| TSharedRef< SWidget > | Creates a sequencer widget | ||
| TSharedPtr< ISequencer > | |||
| void | CustomizeWidgetCompileOptions
(
FMenuBuilder& InMenuBuilder |
||
| void | Callback to dock anim tab into layout | ||
| void | FillAssetMenu
(
FMenuBuilder& MenuBuilder |
||
| void | FillFileMenu
(
FMenuBuilder& MenuBuilder |
||
| UWidgetAnimation * | Get the current animation | ||
| EWidgetDesignFlags | Get the current designer flags that are in effect for the current user widget we're editing. | ||
| TSharedPtr< ISequencer > & | |||
| TSharedPtr< SWidget > | GetExternalEditorWidget
(
FName ID |
Gets external widget whose lifetime should be managed by this editor, NullWidget if not found | |
| const FWidgetReference & | |||
| bool | |||
| TSharedPtr< FLibraryViewModel > | |||
| FWidgetBlueprintEditor::FOnWidgetBlueprintTransaction TBaseMulticastDelegate_NoParams | |||
| TSharedPtr< FPaletteViewModel > | |||
| UUserWidget * | GetPreview () |
||
| TSharedPtr< UE::UMG::Editor::FPreviewMode > | Get the relative info for the Debug mode. | ||
| FPreviewScene * | |||
| TArray< TFunction< void()> > & | |||
| FWidgetReference | GetReferenceFromPreview
(
UWidget* PreviewWidget |
Creates a widget reference using the preview. Which is used to lookup the stable template pointer. | |
| FWidgetReference | GetReferenceFromTemplate
(
UWidget* TemplateWidget |
Creates a widget reference using the template. | |
| TOptional< FNamedSlotSelection > | |||
| const TSet< TWeakObjectPtr< UObject > > & | |||
| const TWeakObjectPtr< UClass > | |||
| const FAssetData | |||
| const TSet< FWidgetReference > & | |||
| TSharedPtr< ISequencer > & | GetSequencer () |
||
| bool | |||
| TSharedPtr< ISequencer > & | |||
| UWidgetBlueprint * | |||
| TSharedPtr< class FWidgetBlueprintEditorToolbar > | |||
| void | InitWidgetBlueprintEditor
(
const EToolkitMode::Type Mode, |
||
| void | InvalidatePreview
(
bool bViewOnly |
Causes the preview to be destroyed and a new one to be created next tick | |
| bool | IsBindingSelected
(
const FMovieSceneBinding& InBinding |
Called to determine whether a binding is selected in the tree view | |
| bool | IsCreateOnCompileSet
(
EDisplayOnCompile InCreateOnCompile |
||
| bool | IsDismissOnCompileSet
(
EDisplayOnCompile InDismissOnCompile |
||
| bool | |||
| bool | |||
| bool | IsSimulating () |
||
| void | MigrateFromChain
(
FEditPropertyChain* PropertyThatChanged, |
Migrate a property change from the preview GUI to the template GUI. | |
| void | Callback for when widget animation list has been updated | ||
| void | OnCreateNativeBaseClassSuccessfully
(
const FString& InClassName, |
||
| void | |||
| TSharedRef< SWidget > | Gets sequencer widget, for anim drawer | ||
| void | OnWidgetAnimDrawerSequencerDismissed
(
const TSharedPtr< SWidget >& NewlyFocusedWidget |
Callback for anim drawer closing | |
| void | OnWidgetAnimDrawerSequencerOpened
(
FName StatusBarWithDrawerName |
Callback for anim drawer opening | |
| void | OnWidgetAnimTabSequencerClosed
(
TSharedRef< SDockTab > ClosedTab |
Callback for anim tab closing | |
| void | Callback for anim tab opening | ||
| void | |||
| const UWidgetAnimation * | Updates the current animation if it is invalid | ||
| void | Immediately rebuilds the preview widget. | ||
| int32 | RemoveExternalEditorWidget
(
FName ID |
Removes external widget whose lifetime should be managed by this editor | |
| void | SelectObjects
(
const TSet< UObject* >& Objects |
Sets the currently selected set of objects | |
| void | SelectWidgets
(
const TSet< FWidgetReference >& Widgets, |
Sets the currently selected set of widgets | |
| void | SetCreateOnCompileSetting
(
EDisplayOnCompile InCreateOnCompile |
||
| void | SetDismissOnCompileSetting
(
EDisplayOnCompile InDismissOnCompile |
||
| void | SetHoveredWidget
(
FWidgetReference& InHoveredWidget |
The widget we're now hovering over in any particular context, allows multiple views to synchronize feedback on where that widget is in their representation. | |
| void | SetIsRespectingLocks
(
bool Value |
||
| void | SetIsSimulating
(
bool bSimulating |
||
| void | SetSelectedNamedSlot
(
TOptional< FNamedSlotSelection > SelectedNamedSlot |
Sets the selected named slot | |
| void | SetSelectedTemplate
(
TWeakObjectPtr< UClass > TemplateClass |
Set the selected template widget | |
| void | SetSelectedUserWidget
(
FAssetData InSelectedUserWidget |
Set the selected user widget | |
| void | SetShowDashedOutlines
(
bool Value |
||
| void | TakeSnapshot () |
||
| void | Toggles Anim Drawer, only used for keyboard shortcut |
Overridden from FBlueprintEditor
| Type | Name | Description | |
|---|---|---|---|
| void | Compile () |
Called when Compile button is clicked | |
| TSubclassOf< UEdGraphSchema > | Whenever new graphs need to be created it will use this schema by default. | ||
| FGraphAppearanceInfo | GetGraphAppearance
(
UEdGraph* InGraph |
Get the graph appearance of a specific graph, GetCurrentGraphAppearance() uses the currently focused graph. | |
| void | Called during initialization of the blueprint editor to register commands and extenders. | ||
| void | RegisterApplicationModes
(
const TArray< UBlueprint* >& InBlueprints, |
Called during initialization of the blueprint editor to register any application modes. |
Overridden from FAssetEditorToolkit
| Type | Name | Description | |
|---|---|---|---|
| void | InitToolMenuContext
(
FToolMenuContext& MenuContext |
Add context objects for menus and toolbars | |
| bool | OnRequestClose
(
EAssetEditorCloseReason InCloseReason |
Called when this toolkit is requested to close. Returns false if closing should be prevented. | |
| void | OnToolkitHostingFinished
(
const TSharedRef< IToolkit >& Toolkit |
Called when another toolkit (such as a ed mode toolkit) is no longer being hosted in this asset editor toolkit. | |
| void | OnToolkitHostingStarted
(
const TSharedRef< IToolkit >& Toolkit |
Called when another toolkit (such as a ed mode toolkit) is being hosted in this asset editor toolkit. |
Overridden from FBaseToolkit
| Type | Name | Description | |
|---|---|---|---|
| void | Creates the Editor mode manager for your class. Default is to create none, for legacy reasons. |
Overridden from IToolkit
| Type | Name | Description | |
|---|---|---|---|
| FText | Returns the localized name of this toolkit type (typically just " |
||
| FName | Returns the invariant name of this toolkit type, used for establishing the context for help, documentation and tutorials | ||
| FName | Returns the invariant name of this toolkit type | ||
| FLinearColor | |||
| FString | Returns the localize prefix string to use for tab labels in world-centric mode. |
Overridden from FGCObject
| Type | Name | Description | |
|---|---|---|---|
| void | AddReferencedObjects
(
FReferenceCollector& Collector |
Pure virtual that must be overloaded by the inheriting class. |
Overridden from FTickableObjectBase
| Type | Name | Description | |
|---|---|---|---|
| void | Tick
(
float DeltaTime |
Pure virtual that must be overloaded by the inheriting class. |
Overridden from FEditorUndoClient
| Type | Name | Description | |
|---|---|---|---|
| void | PostRedo
(
bool bSuccess |
Signal that client should run any PostRedo code | |
| void | PostUndo
(
bool bSuccess |
Signal that client should run any PostUndo code |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FOnEnterWidgetDesigner | |||
| FOnWidgetBlueprintTransaction | Event called when an undo/redo transaction occurs |
Typedefs
| Name | Description |
|---|---|
| FOnHoveredWidgetCleared | |
| FOnHoveredWidgetSet | |
| FOnSelectedAnimationChanged | Called when animation selection changes |
| FOnSelectedWidgetsChanged | |
| FOnSelectedWidgetsChanging | |
| FOnWidgetAnimationsUpdated | Called when animation list changes |
| FOnWidgetPreviewUpdated | Called after the widget preview has been updated |
| Super |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnWidgetAnimSequencerDismissed
(
const TSharedPtr< SWidget >& NewlyFocusedWidget |
OnWidgetAnimSequencerDismissed is deprecated, please use OnWidgetAnimDrawerSequencerDismissed instead. | |
| void | OnWidgetAnimSequencerOpened
(
FName StatusBarWithDrawerName |
OnWidgetAnimSequencerOpened is deprecated, please use OnWidgetAnimDrawerSequencerOpened instead. |