Navigation
API > API/Developer > API/Developer/ToolWidgets > API/Developer/ToolWidgets/SDraggableBoxOverlay
| Name | FArguments |
| Type | struct |
| Header File | /Engine/Source/Developer/ToolWidgets/Public/Overlay/SDraggableBoxOverlay.h |
| Include Path | #include "Overlay/SDraggableBoxOverlay.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SDraggableBoxOverlay >
Inheritance Hierarchy
- FSlateBaseNamedArgs → TSlateBaseNamedArgs → SDraggableBoxOverlay::FArguments
- TSlateBaseNamedArgs< SDraggableBoxOverlay > → SDraggableBoxOverlay::FArguments
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArguments() |
Overlay/SDraggableBoxOverlay.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| WidgetArgsType | FArguments | Overlay/SDraggableBoxOverlay.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| _IsDraggable | TAttribute< bool > | Whether this widget should be allowed to be dragged. | Overlay/SDraggableBoxOverlay.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
NamedSlotProperty< FArguments > Content() |
The content you want to be able to drag around in the parent widget. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & Draggable
(
const TAttribute< bool >& InAttribute |
Whether this widget should be allowed to be dragged. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & DragOverridesCenterAlignment
(
const TAttribute< bool >& InAttribute |
Whether this widget can override center alignment when dragged. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & HAlign
(
EHorizontalAlignment InArg |
Use this to specify whether to align to the left or right. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & HeightOverride
(
TOptional< float > InArg |
Explicit height override. Unset (default) means the box sizes itself to its content height. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & InitialAlignmentOffset
(
FVector2f InArg |
The initial offset this widget should have relative to HAlign and VAlign. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & IsDraggable
(
TAttribute< bool > InAttribute |
Overlay/SDraggableBoxOverlay.h | ||
WidgetArgsType & IsDraggable
(
TSharedRef< UserClass > InUserObjectRef, |
Bind attribute with delegate to a shared pointer-based class method. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & IsDraggable
(
UserClass* InUserObject, |
Bind attribute with delegate to a shared pointer-based class method. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & IsDraggable_Lambda
(
TFunction< bool(void) >&& InFunctor |
Bind attribute with delegate to a lambda * technically this works for any functor types, but lambdas are the primary use case | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & IsDraggable_Raw
(
UserClass* InUserObject, |
Bind attribute with delegate to a raw C++ class method | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & IsDraggable_Static
(
TIdentity_T< typename TAttribute< bool >::FGetter::template TFuncPtr< VarTypes... > > InFunc, |
Bind attribute with delegate to a global function * NOTE: We use a template here to avoid 'typename' issues when hosting attributes inside templated classes | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & IsDraggable_UObject
(
UserClass* InUserObject, |
Bind attribute with delegate to a UObject-based class method | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & MaximumBoxHeight
(
const TAttribute< TOptional< float > >& InAttribute |
Maximum allowed box height when the user resizes. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & MaximumBoxWidth
(
const TAttribute< TOptional< float > >& InAttribute |
Maximum allowed box width when the user resizes. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & MinimumBoxHeight
(
const TAttribute< TOptional< float > >& InAttribute |
Minimum allowed box height when the user resizes. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & MinimumBoxWidth
(
const TAttribute< TOptional< float > >& InAttribute |
Minimum allowed box width when the user resizes. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & OnUserDraggedToNewPosition
(
const FSimpleDelegate& InDelegate |
Invoked when the user has finished dragging the widget to a new position. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & OnUserResized
(
const FSimpleDelegate& InDelegate |
Invoked when the user finishes a resize operation. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & Resizable
(
EResizeEdges InArg |
Which edges the user is allowed to resize by dragging. Default: None (resizing disabled). | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & ResizeHandleThickness
(
float InArg |
Thickness (in local pixels) of the invisible resize hit-target at each enabled edge. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & VAlign
(
EVerticalAlignment InArg |
Use this to specify whether to align to the top or bottom. | Overlay/SDraggableBoxOverlay.h | |
WidgetArgsType & WidthOverride
(
TOptional< float > InArg |
Explicit width override. Unset (default) means the box sizes itself to its content width. | Overlay/SDraggableBoxOverlay.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FArguments & operator[]
(
const TSharedRef< SWidget >& InChild |
Overlay/SDraggableBoxOverlay.h |