Navigation
API > API/Editor > API/Editor/UMGEditor
This drag drop operation allows widget templates from the palate to be dragged and dropped into the designer or the widget hierarchy in order to spawn new widgets.
| Name | FWidgetTemplateDragDropOp |
| Type | class |
| Header File | /Engine/Source/Editor/UMGEditor/Public/DragDrop/WidgetTemplateDragDropOp.h |
| Include Path | #include "DragDrop/WidgetTemplateDragDropOp.h" |
Syntax
class FWidgetTemplateDragDropOp : public FDecoratedDragDropOp
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDragDropOperation → FDecoratedDragDropOp → FWidgetTemplateDragDropOp
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Template | TSharedPtr< FWidgetTemplate > | The template to create an instance | DragDrop/WidgetTemplateDragDropOp.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsOfTypeImpl
(
const FString& Type |
DragDrop/WidgetTemplateDragDropOp.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FString & GetTypeId() |
DragDrop/WidgetTemplateDragDropOp.h | ||
static TSharedRef< FWidgetTemplateDragDropOp > New
(
const TSharedPtr< FWidgetTemplate >& InTemplate |
Constructs the drag drop operation | DragDrop/WidgetTemplateDragDropOp.h |