4#include "Layout/ArrangedWidget.h"
5#include "Widgets/SWidget.h"
6#include "ConnectionDrawingPolicy.h"
10class FSlateWindowElementList;
38 const FSlateRect& InClippingRect,
39 FSlateWindowElementList& InDrawElements,
48 void DetermineWiringStyle(UEdGraphPin* OutputPin, UEdGraphPin* InputPin, FConnectionParams& Params)
override;
52 FArrangedChildren& ArrangedNodes,
53 TSharedRef<SWidget>& OutputPinWidget,
54 UEdGraphPin* OutputPin,
55 UEdGraphPin* InputPin,
56 FArrangedWidget*& StartWidgetGeometry,
57 FArrangedWidget*& EndWidgetGeometry
61 void DrawSplineWithArrow(
const FGeometry& StartGeom,
const FGeometry& EndGeom,
const FConnectionParams& Params)
override;
62 void DrawSplineWithArrow(
const FVector2D& StartPoint,
const FVector2D& EndPoint,
const FConnectionParams& Params)
override;
65 void DrawConnection(int32 LayerId,
const FVector2D& Start,
const FVector2D& End,
const FConnectionParams& Params)
override;
68 void DrawPreviewConnector(
const FGeometry& PinGeometry,
const FVector2D& StartPoint,
const FVector2D& EndPoint, UEdGraphPin* Pin)
override;
74 void Draw(TMap<TSharedRef<SWidget>, FArrangedWidget>& PinGeometries, FArrangedChildren& ArrangedNodes)
override;
79 void Internal_DrawLineWithArrow(
const FVector2D& StartAnchorPoint,
const FVector2D& EndAnchorPoint,
const FConnectionParams& Params);
FConnectionDrawingPolicy Super
TMap< UEdGraphNode *, int32 > NodeWidgetMap
void DrawConnection(int32 LayerId, const FVector2D &Start, const FVector2D &End, const FConnectionParams &Params) override
const UDlgSystemSettings * DialogueSettings
void DetermineWiringStyle(UEdGraphPin *OutputPin, UEdGraphPin *InputPin, FConnectionParams &Params) override
void DrawSplineWithArrow(const FGeometry &StartGeom, const FGeometry &EndGeom, const FConnectionParams &Params) override
void DetermineLinkGeometry(FArrangedChildren &ArrangedNodes, TSharedRef< SWidget > &OutputPinWidget, UEdGraphPin *OutputPin, UEdGraphPin *InputPin, FArrangedWidget *&StartWidgetGeometry, FArrangedWidget *&EndWidgetGeometry) override
FDialogueGraphConnectionDrawingPolicy(int32 InBackLayerID, int32 InFrontLayerID, float ZoomFactor, const FSlateRect &InClippingRect, FSlateWindowElementList &InDrawElements, UEdGraph *InGraphObj)
FVector2D ComputeSplineTangent(const FVector2D &Start, const FVector2D &End) const override
void DrawPreviewConnector(const FGeometry &PinGeometry, const FVector2D &StartPoint, const FVector2D &EndPoint, UEdGraphPin *Pin) override
void Internal_DrawLineWithArrow(const FVector2D &StartAnchorPoint, const FVector2D &EndAnchorPoint, const FConnectionParams &Params)
void Draw(TMap< TSharedRef< SWidget >, FArrangedWidget > &PinGeometries, FArrangedChildren &ArrangedNodes) override
UCLASS(Config = Engine, DefaultConfig, meta = (DisplayName = "Dialogue System Settings"))