Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Slate
Inheritance Hierarchy
- FGameDragDropOperation
- FGCObject
- FUMGDragDropOp
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Slate/UMGDragDropOp.h |
Include | #include "Slate/UMGDragDropOp.h" |
Syntax
class FUMGDragDropOp :
public FGameDragDropOperation,
public FGCObject
Remarks
This is the drag/drop class used for UMG, all UMG drag drop operations utilize this operation. It supports moving a UObject payload and using a UWidget decorator.
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
UDragDropOperation * | GetOperation () |
|
![]() ![]() |
const FString & | GetTypeId () |
|
![]() ![]() |
TSharedRef< FUMGDragDropOp > | New
(
UDragDropOperation* Operation, |
Overridden from FDragDropOperation
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | AffectedByPointerEvent
(
const FPointerEvent& PointerEvent |
Checks if this drag and drop operation is affected by a given PointerEvent. |
![]() ![]() |
void | Construct () |
Constructs the window and widget if applicable. |
![]() ![]() ![]() |
TSharedPtr< SWidget > | Gets the widget that will serve as the decorator unless overridden. | |
![]() ![]() ![]() |
bool | IsOfTypeImpl
(
const FString& Type |
Checks whether this drag and drop operation can cast safely to the specified type. |
![]() ![]() |
FCursorReply | Allows drag/drop operations to override the current cursor | |
![]() ![]() |
void | OnDragged
(
const FDragDropEvent& DragDropEvent |
Called when the mouse was moved during a drag and drop operation |
![]() ![]() |
void | OnDrop
(
bool bDropWasHandled, |
Invoked when the drag and drop operation has ended. |
Overridden from FGCObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddReferencedObjects
(
FReferenceCollector& Collector |
Begin FGCObject. |
![]() ![]() ![]() |
FString | Overload this method to report a name for your referencer |