FGraphEditorDragDropAction

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

Unreal Engine C++ API Reference > Editor > GraphEditor

Inheritance Hierarchy

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/GraphEditorDragDropAction.h
Include #include "GraphEditorDragDropAction.h"

Syntax

class FGraphEditorDragDropAction : public [FDragDropOperation](API\Runtime\SlateCore\Input\FDragDropOperation)  

Remarks

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

Variables

Type Name Description
bool bDropTargetValid Drop target status
TWeakPtr< struc... HoveredAction Action we are hovering over.
FText HoveredCategoryName Name of category we are hovering over.

Constructors

Type Name Description
  FGraphEditorDragDropAction ()  

Functions

Type Name Description
FReply DroppedOnAction ( TSharedRef< struct FEdGraphSchemaAc... )  
FReply DroppedOnCategory ( FText Category )  
FReply DroppedOnNode ( FVector2D ScreenPosition, FVector2D GraphPosition )  
FReply DroppedOnPanel ( const TSharedRef< SWidget >& Panel, FVector2D ScreenPosition, FVector2D GraphPosition, UEdGraph& Graph )  
FReply DroppedOnPin ( FVector2D ScreenPosition, FVector2D GraphPosition )  
EVisibility GetErrorIconVisible ()  
UEdGraph ... GetHoveredGraph ()  
UEdGraphNode... GetHoveredNode ()  
UEdGraphPin ... GetHoveredPin ()  
EVisibility GetIconVisible ()  
const FStrin... GetTypeId ()  
bool HasFeedbackMessage ()  
void HoverTargetChanged () Interface to override.
bool IsSupportedBySchema ( const UEdGraphSchema* Schema )  
void SetDropTargetValid ( bool bValid )  
void SetFeedbackMessage ( const TSharedPtr< SWidget >& Messa... )  
void SetHoveredAction ( TSharedPtr< struct FEdGraphSchemaAc... )  
void SetHoveredCategoryName ( const FText& InHoverCategoryName )  
void SetHoveredGraph ( const TSharedPtr< SGraphPanel >& I... )  
void SetHoveredNode ( const TSharedPtr< SGraphNode >& In... )  
void SetHoveredNode ( UEdGraphNode* InNode )  
void SetHoveredPin ( UEdGraphPin* InPin )  
void SetSimpleFeedbackMessage ( const FSlateBrush* Icon, const FSlateColor& IconColor, const FText& Message, const FSlateBrush* SecondaryIc..., const FSlateColor SecondaryColor )  

Overridden from FDragDropOperation

Type Name Description
void Construct () Constructs the window and widget if applicable
bool IsOfTypeImpl ( const FString& Type ) Checks whether this drag and drop operation can cast safely to the specified type.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library