FGraphEditorDragDropAction

Base class for drag-drop actions that pass into the graph editor and perform an action when dropped.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GraphEditor

Header

/Engine/Source/Editor/GraphEditor/Public/GraphEditorDragDropAction.h

Include

#include "GraphEditorDragDropAction.h"

Syntax

class FGraphEditorDragDropAction : public FDragDropOperation

Remarks

Base class for drag-drop actions that pass into the graph editor and perform an action when dropped.

Variables

Name Description

Protected variable

bool

 

bDropTargetValid

Drop target status

Protected variable

TWeakPtr< struc...

 

HoveredAction

Action we are hovering over.

Protected variable

FText

 

HoveredCategoryName

Name of category we are hovering over.

Constructors

Name Description

Public function

FGraphEditorDragDropAction()

Functions

Name Description

Public function Virtual

FReply

 

DroppedOnAction

(
    TSharedRef< struct FEdGraphSchemaAc...
)

Public function Virtual

FReply

 

DroppedOnCategory

(
    FText Category
)

Public function Virtual

FReply

 

DroppedOnNode

(
    FVector2D ScreenPosition,
    FVector2D GraphPosition
)

Public function Virtual

FReply

 

DroppedOnPanel

(
    const TSharedRef< SWidget >& Panel,
    FVector2D ScreenPosition,
    FVector2D GraphPosition,
    UEdGraph& Graph
)

Public function Virtual

FReply

 

DroppedOnPin

(
    FVector2D ScreenPosition,
    FVector2D GraphPosition
)

Protected function Virtual Const

EVisibility

 

GetErrorIconVisible()

Protected function Const

UEdGraph ...

 

GetHoveredGraph()

Protected function Const

UEdGraphNode...

 

GetHoveredNode()

Protected function Const

UEdGraphPin ...

 

GetHoveredPin()

Protected function Virtual Const

EVisibility

 

GetIconVisible()

Public function Static

const FStrin...

 

GetTypeId()

Public function

bool

 

HasFeedbackMessage()

Public function Virtual

void

 

HoverTargetChanged()

Interface to override.

Public function Virtual Const

bool

 

IsSupportedBySchema

(
    const UEdGraphSchema* Schema
)

Public function

void

 

SetDropTargetValid

(
    bool bValid
)

Public function

void

 

SetFeedbackMessage

(
    const TSharedPtr< SWidget >& Messa...
)

Public function

void

 

SetHoveredAction

(
    TSharedPtr< struct FEdGraphSchemaAc...
)

Public function

void

 

SetHoveredCategoryName

(
    const FText& InHoverCategoryName
)

Public function

void

 

SetHoveredGraph

(
    const TSharedPtr< SGraphPanel >& I...
)

Public function

void

 

SetHoveredNode

(
    const TSharedPtr< SGraphNode >& In...
)

Public function

void

 

SetHoveredNode

(
    UEdGraphNode* InNode
)

Public function

void

 

SetHoveredPin

(
    UEdGraphPin* InPin
)

Public function

void

 

SetSimpleFeedbackMessage

(
    const FSlateBrush* Icon,
    const FSlateColor& IconColor,
    const FText& Message,
    const FSlateBrush* SecondaryIc...,
    const FSlateColor SecondaryColor
)

Overridden from FDragDropOperation

Name Description

Protected function Virtual

void

 

Construct()

Constructs the window and widget if applicable

Public function Virtual Const

bool

 

IsOfTypeImpl

(
    const FString& Type
)

Checks whether this drag and drop operation can cast safely to the specified type.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss