28 void GetPaletteActions(FGraphActionMenuBuilder& ActionMenuBuilder) const;
31 bool ConnectionCausesLoop(const UEdGraphPin* InputPin, const UEdGraphPin* OutputPin) const;
39 void GetGraphContextActions(FGraphContextMenuBuilder& ContextMenuBuilder) const override;
46#if ENGINE_MINOR_VERSION >= 24
47 void GetContextMenuActions(UToolMenu* Menu, UGraphNodeContextMenuContext* Context)
const override;
49 void GetContextMenuActions(
52 const UEdGraphPin* InGraphPin,
53 FMenuBuilder* MenuBuilder,
63 void CreateDefaultNodesForGraph(
UEdGraph& Graph)
const override;
67 FPinConnectionResponse MovePinLinks(
68 UEdGraphPin& MoveFromPin,
69 UEdGraphPin& MoveToPin,
70 bool bIsIntermediateMove =
false,
71 bool bNotifyLinkedNodes =
false
75 FPinConnectionResponse CopyPinLinks(UEdGraphPin& CopyFromPin, UEdGraphPin& CopyToPin,
bool bIsIntermediateCopy =
false)
const override;
85 const FPinConnectionResponse CanCreateConnection(
const UEdGraphPin* PinA,
const UEdGraphPin* PinB)
const override;
95 bool TryCreateConnection(UEdGraphPin* PinA, UEdGraphPin* PinB)
const override;
108 bool CreateAutomaticConversionNodeAndConnections(UEdGraphPin* PinA, UEdGraphPin* PinB)
const override;
111 bool ShouldHidePinDefaultValue(UEdGraphPin* Pin)
const override;
118 void BreakNodeLinks(
UEdGraphNode& TargetNode)
const override;
126 void BreakPinLinks(UEdGraphPin& TargetPin,
bool bSendsNodeNotifcation)
const override;
134 void BreakSinglePinLink(UEdGraphPin* SourcePin, UEdGraphPin* TargetPin)
const override;
137 void DroppedAssetsOnGraph(
const TArray<FAssetData>& Assets,
const FVector2D& GraphPosition,
UEdGraph* Graph)
const override;
140 void DroppedAssetsOnNode(
const TArray<FAssetData>& Assets,
const FVector2D& GraphPosition,
UEdGraphNode* Node)
const override;
153 bool ShouldAlwaysPurgeOnModification()
const override {
return true; }
156 TSharedPtr<FEdGraphSchemaAction> GetCreateCommentAction()
const override
164 int32 InFrontLayerID,
166 const FSlateRect& InClippingRect,
167 FSlateWindowElementList& InDrawElements,
183 void BreakLinkTo(UEdGraphPin* TargetPin, UEdGraphPin* ToPin,
bool bSendsNodeNotifcation)
const;
188 void GetCommentAction(FGraphActionMenuBuilder& ActionMenuBuilder,
const UEdGraph* CurrentGraph =
nullptr)
const;
191 void GetConvertActions(FGraphActionMenuBuilder& ActionMenuBuilder,
const UEdGraph* CurrentGraph)
const;
194 void GetAllDialogueNodeActions(FGraphActionMenuBuilder& ActionMenuBuilder)
const;
197 static void InitDialogueNodeClasses();
201 static const FName PIN_CATEGORY_Input;
202 static const FName PIN_CATEGORY_Output;
205 static const FText NODE_CATEGORY_Dialogue;
206 static const FText NODE_CATEGORY_Graph;
207 static const FText NODE_CATEGORY_Convert;
211 static TArray<TSubclassOf<UDlgNode>> DialogueNodeClasses;
214 static bool bDialogueNodeClassesInitialized;
FConnectionDrawingPolicy * CreateConnectionDrawingPolicy(int32 InBackLayerID, int32 InFrontLayerID, float InZoomFactor, const FSlateRect &InClippingRect, FSlateWindowElementList &InDrawElements, UEdGraph *InGraphObj) const override