Go to the source code of this file.
◆ DRAG_DROP_OPERATOR_TYPE
Value: static const FString& GetTypeId() {
static FString Type =
TEXT(#
TYPE);
return Type; } \
virtual bool IsOfTypeImpl(const FString& Type) const override { return GetTypeId() == Type || BASE::IsOfTypeImpl(Type); }
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
All drag drop operations that require type checking must include this macro. Example Usage: class FMyDragDropOp : public FDragDropOperation { public: DRAG_DROP_OPERATOR_TYPE(FMyDragDropOp, FDragDropOperation) ... };
◆ DECLARE_DELEGATE_TwoParams()
Invoked when a drag and drop is finished. This allows the widget that started the drag/drop to respond to the end of the operation.
- Parameters
-
| bWasDropHandled | True when the drag and drop operation was handled by some widget; False when no widget handled the drop. |
| DragDropEvent | The Drop event that terminated the whole DragDrop operation A delegate invoked on the initiator of the DragDrop operation. This delegate is invoked periodically during the DragDrop, and gives the initiator an opportunity to respond to the current state of the process. e.g. Create and update a custom cursor. |