#include <DialogueGraphConnectionDrawingPolicy.h>
|
| 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 |
|
|
void | Internal_DrawLineWithArrow (const FVector2D &StartAnchorPoint, const FVector2D &EndAnchorPoint, const FConnectionParams &Params) |
|
◆ Super
◆ 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
Definition at line 13 of file DialogueGraphConnectionDrawingPolicy.cpp.
◆ ComputeSplineTangent()
FVector2D FDialogueGraphConnectionDrawingPolicy::ComputeSplineTangent |
( |
const FVector2D & | Start, |
|
|
const FVector2D & | End ) const |
|
override |
◆ DetermineLinkGeometry()
void FDialogueGraphConnectionDrawingPolicy::DetermineLinkGeometry |
( |
FArrangedChildren & | ArrangedNodes, |
|
|
TSharedRef< SWidget > & | OutputPinWidget, |
|
|
UEdGraphPin * | OutputPin, |
|
|
UEdGraphPin * | InputPin, |
|
|
FArrangedWidget *& | StartWidgetGeometry, |
|
|
FArrangedWidget *& | EndWidgetGeometry ) |
|
override |
◆ DetermineWiringStyle()
void FDialogueGraphConnectionDrawingPolicy::DetermineWiringStyle |
( |
UEdGraphPin * | OutputPin, |
|
|
UEdGraphPin * | InputPin, |
|
|
FConnectionParams & | Params ) |
|
override |
◆ Draw()
void FDialogueGraphConnectionDrawingPolicy::Draw |
( |
TMap< TSharedRef< SWidget >, FArrangedWidget > & | PinGeometries, |
|
|
FArrangedChildren & | ArrangedNodes ) |
|
override |
◆ DrawConnection()
void FDialogueGraphConnectionDrawingPolicy::DrawConnection |
( |
int32 | LayerId, |
|
|
const FVector2D & | Start, |
|
|
const FVector2D & | End, |
|
|
const FConnectionParams & | Params ) |
|
override |
◆ DrawPreviewConnector()
void FDialogueGraphConnectionDrawingPolicy::DrawPreviewConnector |
( |
const FGeometry & | PinGeometry, |
|
|
const FVector2D & | StartPoint, |
|
|
const FVector2D & | EndPoint, |
|
|
UEdGraphPin * | Pin ) |
|
override |
◆ DrawSplineWithArrow() [1/2]
void FDialogueGraphConnectionDrawingPolicy::DrawSplineWithArrow |
( |
const FGeometry & | StartGeom, |
|
|
const FGeometry & | EndGeom, |
|
|
const FConnectionParams & | Params ) |
|
override |
◆ DrawSplineWithArrow() [2/2]
void FDialogueGraphConnectionDrawingPolicy::DrawSplineWithArrow |
( |
const FVector2D & | StartPoint, |
|
|
const FVector2D & | EndPoint, |
|
|
const FConnectionParams & | Params ) |
|
override |
◆ Internal_DrawLineWithArrow()
void FDialogueGraphConnectionDrawingPolicy::Internal_DrawLineWithArrow |
( |
const FVector2D & | StartAnchorPoint, |
|
|
const FVector2D & | EndAnchorPoint, |
|
|
const FConnectionParams & | Params ) |
|
protected |
◆ DialogueSettings
const UDlgSystemSettings* FDialogueGraphConnectionDrawingPolicy::DialogueSettings = nullptr |
|
protected |
◆ Graph
UEdGraph* FDialogueGraphConnectionDrawingPolicy::Graph = nullptr |
|
protected |
◆ NodeWidgetMap
TMap<UEdGraphNode*, int32> FDialogueGraphConnectionDrawingPolicy::NodeWidgetMap |
|
protected |
The documentation for this class was generated from the following files: