Navigation
API > API/Editor > API/Editor/Persona
| Name | FSocketDragDropOp |
| Type | class |
| Header File | /Engine/Source/Editor/Persona/Public/SocketDragDropOp.h |
| Include Path | #include "SocketDragDropOp.h" |
Syntax
class FSocketDragDropOp : public FDragDropOperation
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDragDropOperation → FSocketDragDropOp
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CurrentIconBrush | const FSlateBrush * | The icon to display before the text | SocketDragDropOp.h | |
| ModifierKeysState | FModifierKeysState | What was the modifier state at the start of the drag? | SocketDragDropOp.h | |
| SocketInfo | FSelectedSocketInfo | The socket that we're dragging | SocketDragDropOp.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< SWidget > GetDefaultDecorator() |
The widget decorator to use | SocketDragDropOp.h | |
FText GetHoverText() |
Passed into STextBlock so Slate can grab the current text for display | SocketDragDropOp.h | |
const FSlateBrush * GetIcon() |
Passed into SImage so Slate can grab the current icon for display | SocketDragDropOp.h | |
FSelectedSocketInfo & GetSocketInfo() |
Accessor for the socket info | SocketDragDropOp.h | |
bool IsAltDrag() |
Is this an alt-drag operation? | SocketDragDropOp.h | |
virtual bool IsOfTypeImpl
(
const FString& Type |
SocketDragDropOp.h | ||
bool IsShiftDrag() |
Is this an shift-drag operation? | SocketDragDropOp.h | |
void SetIcon
(
const FSlateBrush* InIcon |
Sets the icon to be displayed | SocketDragDropOp.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FString & GetTypeId() |
SocketDragDropOp.h | ||
static TSharedRef< FSocketDragDropOp > New
(
FSelectedSocketInfo InSocketInfo, |
Use this function to create a new one of me | SocketDragDropOp.h |