Navigation
API > API/Plugins > API/Plugins/ModelingUI
A widget for the draggable box itself, which requires its parent to handle its positioning in response to the drag.
Users probably shouldn't use this class directly; rather, they should use SDraggableBoxOverlay, which will put its contents into a draggable box and properly handle the dragging without the user having to set it up.
| Name | SDraggableBox |
| Type | class |
| Header File | /Engine/Plugins/Experimental/MeshModelingToolsetExp/Source/ModelingUI/Public/ModelingWidgets/SDraggableBox.h |
| Include Path | #include "ModelingWidgets/SDraggableBox.h" |
Syntax
class SDraggableBox : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SDraggableBox
- FSlateControlledConstruction → SWidget → SCompoundWidget → SDraggableBox
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnDragComplete | TBaseDelegate_OneParam< void, const FVector2D & > | ModelingWidgets/SDraggableBox.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
ModelingWidgets/SDraggableBox.h | ||
FReply OnDragDetected
(
const FGeometry& MyGeometry, |
ModelingWidgets/SDraggableBox.h | ||
FReply OnMouseButtonDown
(
const FGeometry& MyGeometry, |
SWidget overrides necessary for box to be draggable. | ModelingWidgets/SDraggableBox.h |