Navigation
API > API/Editor > API/Editor/UMGEditor > API/Editor/UMGEditor/DragDrop
Inheritance Hierarchy
- TSharedFromThis
- FDragDropOperation
- FDecoratedDragDropOp
- FWidgetTemplateDragDropOp
References
| Module | UMGEditor |
| Header | /Engine/Source/Editor/UMGEditor/Public/DragDrop/WidgetTemplateDragDropOp.h |
| Include | #include "DragDrop/WidgetTemplateDragDropOp.h" |
Syntax
class FWidgetTemplateDragDropOp : public FDecoratedDragDropOp
Remarks
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.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FWidgetTemplate > | Template | The template to create an instance |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const FString & | GetTypeId () |
||
| TSharedRef< FWidgetTemplateDragDropOp > | New
(
const TSharedPtr< FWidgetTemplate >& InTemplate |
Constructs the drag drop operation |
Overridden from FDragDropOperation
| Type | Name | Description | |
|---|---|---|---|
| bool | IsOfTypeImpl
(
const FString& Type |
Checks whether this drag and drop operation can cast safely to the specified type. |