A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
FDialogueGraphConnectionDrawingPolicy Class Reference

#include <DialogueGraphConnectionDrawingPolicy.h>

Inheritance diagram for FDialogueGraphConnectionDrawingPolicy:
[legend]

Public Member Functions

 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 DetermineLinkGeometry (FArrangedChildren &ArrangedNodes, TSharedRef< SWidget > &OutputPinWidget, UEdGraphPin *OutputPin, UEdGraphPin *InputPin, FArrangedWidget *&StartWidgetGeometry, FArrangedWidget *&EndWidgetGeometry) override
 
void DetermineWiringStyle (UEdGraphPin *OutputPin, UEdGraphPin *InputPin, FConnectionParams &Params) override
 
void Draw (TMap< TSharedRef< SWidget >, FArrangedWidget > &PinGeometries, FArrangedChildren &ArrangedNodes) override
 
void DrawConnection (int32 LayerId, const FVector2D &Start, const FVector2D &End, const FConnectionParams &Params) override
 
void DrawPreviewConnector (const FGeometry &PinGeometry, const FVector2D &StartPoint, const FVector2D &EndPoint, UEdGraphPin *Pin) override
 
void DrawSplineWithArrow (const FGeometry &StartGeom, const FGeometry &EndGeom, const FConnectionParams &Params) override
 
void DrawSplineWithArrow (const FVector2D &StartPoint, const FVector2D &EndPoint, const FConnectionParams &Params) override
 

Protected Member Functions

void Internal_DrawLineWithArrow (const FVector2D &StartAnchorPoint, const FVector2D &EndAnchorPoint, const FConnectionParams &Params)
 

Protected Attributes

const UDlgSystemSettingsDialogueSettings = nullptr
 
UEdGraphGraph = nullptr
 
TMap< UEdGraphNode *, int32 > NodeWidgetMap
 

Private Types

typedef FConnectionDrawingPolicy Super
 

Detailed Description

Definition at line 15 of file DialogueGraphConnectionDrawingPolicy.h.

Member Typedef Documentation

◆ Super

Constructor & Destructor Documentation

◆ FDialogueGraphConnectionDrawingPolicy()

FDialogueGraphConnectionDrawingPolicy::FDialogueGraphConnectionDrawingPolicy ( int32 InBackLayerID,
int32 InFrontLayerID,
float ZoomFactor,
const FSlateRect & InClippingRect,
FSlateWindowElementList & InDrawElements,
UEdGraph * InGraphObj )

Call order in SGraphPanel:

  • DrawPreviewConnector
  • SetIncompatiblePinDrawState OR
  • ResetIncompatiblePinDrawState
  • Draw
    • DetermineLinkGeometry
    • DetermineWiringStyle
    • DrawSplineWithArrow
      • DrawConnection

Definition at line 13 of file DialogueGraphConnectionDrawingPolicy.cpp.

Member Function Documentation

◆ ComputeSplineTangent()

FVector2D FDialogueGraphConnectionDrawingPolicy::ComputeSplineTangent ( const FVector2D & Start,
const FVector2D & End ) const
override

Definition at line 305 of file DialogueGraphConnectionDrawingPolicy.cpp.

Here is the caller graph for this function:

◆ DetermineLinkGeometry()

void FDialogueGraphConnectionDrawingPolicy::DetermineLinkGeometry ( FArrangedChildren & ArrangedNodes,
TSharedRef< SWidget > & OutputPinWidget,
UEdGraphPin * OutputPin,
UEdGraphPin * InputPin,
FArrangedWidget *& StartWidgetGeometry,
FArrangedWidget *& EndWidgetGeometry )
override

Definition at line 50 of file DialogueGraphConnectionDrawingPolicy.cpp.

◆ DetermineWiringStyle()

void FDialogueGraphConnectionDrawingPolicy::DetermineWiringStyle ( UEdGraphPin * OutputPin,
UEdGraphPin * InputPin,
FConnectionParams & Params )
override

Definition at line 25 of file DialogueGraphConnectionDrawingPolicy.cpp.

Here is the caller graph for this function:

◆ Draw()

void FDialogueGraphConnectionDrawingPolicy::Draw ( TMap< TSharedRef< SWidget >, FArrangedWidget > & PinGeometries,
FArrangedChildren & ArrangedNodes )
override

Definition at line 313 of file DialogueGraphConnectionDrawingPolicy.cpp.

◆ DrawConnection()

void FDialogueGraphConnectionDrawingPolicy::DrawConnection ( int32 LayerId,
const FVector2D & Start,
const FVector2D & End,
const FConnectionParams & Params )
override

Definition at line 114 of file DialogueGraphConnectionDrawingPolicy.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawPreviewConnector()

void FDialogueGraphConnectionDrawingPolicy::DrawPreviewConnector ( const FGeometry & PinGeometry,
const FVector2D & StartPoint,
const FVector2D & EndPoint,
UEdGraphPin * Pin )
override

Definition at line 282 of file DialogueGraphConnectionDrawingPolicy.cpp.

Here is the call graph for this function:

◆ DrawSplineWithArrow() [1/2]

void FDialogueGraphConnectionDrawingPolicy::DrawSplineWithArrow ( const FGeometry & StartGeom,
const FGeometry & EndGeom,
const FConnectionParams & Params )
override

Definition at line 84 of file DialogueGraphConnectionDrawingPolicy.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DrawSplineWithArrow() [2/2]

void FDialogueGraphConnectionDrawingPolicy::DrawSplineWithArrow ( const FVector2D & StartPoint,
const FVector2D & EndPoint,
const FConnectionParams & Params )
override

Definition at line 103 of file DialogueGraphConnectionDrawingPolicy.cpp.

Here is the call graph for this function:

◆ Internal_DrawLineWithArrow()

void FDialogueGraphConnectionDrawingPolicy::Internal_DrawLineWithArrow ( const FVector2D & StartAnchorPoint,
const FVector2D & EndAnchorPoint,
const FConnectionParams & Params )
protected

Definition at line 329 of file DialogueGraphConnectionDrawingPolicy.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ DialogueSettings

const UDlgSystemSettings* FDialogueGraphConnectionDrawingPolicy::DialogueSettings = nullptr
protected

Definition at line 89 of file DialogueGraphConnectionDrawingPolicy.h.

◆ Graph

UEdGraph* FDialogueGraphConnectionDrawingPolicy::Graph = nullptr
protected

Definition at line 83 of file DialogueGraphConnectionDrawingPolicy.h.

◆ NodeWidgetMap

TMap<UEdGraphNode*, int32> FDialogueGraphConnectionDrawingPolicy::NodeWidgetMap
protected

Definition at line 86 of file DialogueGraphConnectionDrawingPolicy.h.


The documentation for this class was generated from the following files: