Navigation
API > API/Editor > API/Editor/GraphEditor
Base class for drag-drop actions that pass into the graph editor and perform an action when dropped.
| Name | FGraphEditorDragDropAction |
| Type | class |
| Header File | /Engine/Source/Editor/GraphEditor/Public/GraphEditorDragDropAction.h |
| Include Path | #include "GraphEditorDragDropAction.h" |
Syntax
class FGraphEditorDragDropAction : public FDragDropOperation
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FDragDropOperation → FGraphEditorDragDropAction
Derived Classes
- FGraphSchemaActionDragDropAction
- FOutlinerViewModelDragDropOp
- FPropertyBagDetailsDragDropOp
- FRigVMGraphExplorerDragDropOp
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGraphEditorDragDropAction() |
GraphEditorDragDropAction.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HoveredGraph | TSharedPtr< SGraphPanel > | The graph that the drag action is currently hovering over. | GraphEditorDragDropAction.h | |
| HoveredNode | TWeakObjectPtr< UEdGraphNode > | The node that the drag action is currently hovering over. | GraphEditorDragDropAction.h | |
| HoveredPin | FEdGraphPinReference | The pin that the drag action is currently hovering over. | GraphEditorDragDropAction.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FReply DroppedOnAction
(
TSharedRef< struct FEdGraphSchemaAction > Action |
GraphEditorDragDropAction.h | ||
virtual FReply DroppedOnCategory
(
FText Category |
GraphEditorDragDropAction.h | ||
virtual FReply DroppedOnNode
(
const FVector2f& ScreenPosition, |
GraphEditorDragDropAction.h | ||
virtual FReply DroppedOnNode
(
FVector2D ScreenPosition, |
GraphEditorDragDropAction.h | ||
virtual FReply DroppedOnPanel
(
const TSharedRef< SWidget >& Panel, |
GraphEditorDragDropAction.h | ||
virtual FReply DroppedOnPanel
(
const TSharedRef< SWidget >& Panel, |
GraphEditorDragDropAction.h | ||
virtual FReply DroppedOnPin
(
const FVector2f& ScreenPosition, |
GraphEditorDragDropAction.h | ||
virtual FReply DroppedOnPin
(
FVector2D ScreenPosition, |
GraphEditorDragDropAction.h | ||
bool HasFeedbackMessage() |
GraphEditorDragDropAction.h | ||
virtual void HoverTargetChanged() |
Interface to override. | GraphEditorDragDropAction.h | |
virtual bool IsOfTypeImpl
(
const FString& Type |
GraphEditorDragDropAction.h | ||
virtual bool IsSupportedBySchema
(
const UEdGraphSchema* Schema |
GraphEditorDragDropAction.h | ||
void SetDropTargetValid
(
bool bValid |
GraphEditorDragDropAction.h | ||
void SetFeedbackMessage
(
const TSharedPtr< SWidget >& Message |
GraphEditorDragDropAction.h | ||
void SetHoveredAction
(
TSharedPtr< struct FEdGraphSchemaAction > Action |
GraphEditorDragDropAction.h | ||
void SetHoveredCategoryName
(
const FText& InHoverCategoryName |
GraphEditorDragDropAction.h | ||
void SetHoveredGraph
(
const TSharedPtr< SGraphPanel >& InGraph |
GraphEditorDragDropAction.h | ||
void SetHoveredNode
(
const TSharedPtr< SGraphNode >& InNode |
GraphEditorDragDropAction.h | ||
void SetHoveredNode
(
UEdGraphNode* InNode |
GraphEditorDragDropAction.h | ||
void SetHoveredPin
(
UEdGraphPin* InPin |
GraphEditorDragDropAction.h | ||
void SetSimpleFeedbackMessage
(
const FSlateBrush* Icon, |
GraphEditorDragDropAction.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Construct() |
Constructs the window and widget if applicable | GraphEditorDragDropAction.h | |
virtual EVisibility GetErrorIconVisible() |
GraphEditorDragDropAction.h | ||
UEdGraph * GetHoveredGraph() |
GraphEditorDragDropAction.h | ||
UEdGraphNode * GetHoveredNode() |
GraphEditorDragDropAction.h | ||
UEdGraphPin * GetHoveredPin() |
GraphEditorDragDropAction.h | ||
virtual EVisibility GetIconVisible() |
GraphEditorDragDropAction.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static const FString & GetTypeId() |
GraphEditorDragDropAction.h |