Navigation
API > API/Plugins > API/Plugins/ModelingUI
A drag/drop operation used by SDraggableBox, largely modeled on FInViewportUIDragOperation, except instead of requiring the drop location to be able to handle that particular class to trigger the OnDragComplete delegate, it just triggers on any drop. This makes it possible to use it in any viewports, not just the level editor.
| Name | FDraggableBoxUIDragOperation |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/ModelingUI/Public/ModelingWidgets/SDraggableBox.h |
| Include Path | #include "ModelingWidgets/SDraggableBox.h" |
Syntax
class FDraggableBoxUIDragOperation : public FDragDropOperation
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDragDropOperation → FDraggableBoxUIDragOperation
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
PRAGMA_DISABLE_DEPRECATION_WARNINGS FDraggableBoxUIDragOperation
(
const TSharedRef< class SWidget >& InUIToBeDragged, |
The constructor is protected, so that this class can only be instantiated as a shared pointer. | ModelingWidgets/SDraggableBox.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual PRAGMA_DISABLE_DEPRECATION_WARNINGS ~FDraggableBoxUIDragOperation() |
ModelingWidgets/SDraggableBox.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsOfTypeImpl
(
const FString& Type |
ModelingWidgets/SDraggableBox.h | ||
virtual void OnDragged
(
const FDragDropEvent& DragDropEvent |
ModelingWidgets/SDraggableBox.h | ||
virtual void OnDrop
(
bool bDropWasHandled, |
FDragDropOperation. | ModelingWidgets/SDraggableBox.h |
Protected
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FString & GetTypeId() |
ModelingWidgets/SDraggableBox.h | ||
static PRAGMA_DISABLE_DEPRECATION_WARNINGSTSharedRef< FDraggableBoxUIDragOperation > New
(
const TSharedRef< class SWidget >& InUIToBeDragged, |
Create this Drag and Drop Content | ModelingWidgets/SDraggableBox.h |