#include <SDialogueGraphNode_Edge.h>
|
void | Construct (const FArguments &InArgs, UDialogueGraphNode_Base *InNode) |
|
void | Construct (const FArguments &InArgs, UDialogueGraphNode_Edge *InNode) |
|
void | CreatePinWidgets () override |
|
void | CreateStandardPinWidget (UEdGraphPin *Pin) override |
|
EVisibility | GetNodeVisibility () const override |
|
TArray< FOverlayWidgetInfo > | GetOverlayWidgets (bool bSelected, const FVector2D &WidgetSize) const override |
|
FSlateColor | GetTransitionColor () const |
|
void | MoveTo (const FVector2D &NewPosition, FNodeSet &NodeFilter, bool bMarkDirty=true) override |
|
void | OnMouseEnter (const FGeometry &MyGeometry, const FPointerEvent &MouseEvent) override |
|
void | OnMouseLeave (const FPointerEvent &MouseEvent) override |
|
void | PerformSecondPassLayout (const TMap< UObject *, TSharedRef< SNode > > &InNodeToWidgetLookup) const override |
|
void | PositionBetweenTwoNodesWithOffset (const FGeometry &StartGeom, const FGeometry &EndGeom, int32 NodeIndex, int32 MaxNodes) const |
|
bool | RequiresSecondPassLayout () const override |
|
void | SetOwner (const TSharedRef< SGraphPanel > &OwnerPanel) override |
|
| SLATE_BEGIN_ARGS (Self) |
|
| SLATE_BEGIN_ARGS (Self) |
|
void | UpdateGraphNode () override |
|
◆ Self
◆ Super
◆ AddPin()
void SDialogueGraphNode_Base::AddPin |
( |
const TSharedRef< SGraphPin > & | PinToAdd | ) |
|
|
overrideprotectedinherited |
Add a new pin to this graph node. The pin must be newly created.
- Parameters
-
PinToAdd | A new pin to add to this GraphNode. |
Definition at line 85 of file SDialogueGraphNode_Base.cpp.
◆ Construct() [1/2]
◆ Construct() [2/2]
◆ CreatePinWidget()
TSharedPtr< SGraphPin > SDialogueGraphNode_Base::CreatePinWidget |
( |
UEdGraphPin * | Pin | ) |
const |
|
overrideprotectedinherited |
◆ CreatePinWidgets()
void SDialogueGraphNode_Base::CreatePinWidgets |
( |
| ) |
|
|
overrideinherited |
◆ CreateStandardPinWidget()
void SDialogueGraphNode_Base::CreateStandardPinWidget |
( |
UEdGraphPin * | Pin | ) |
|
|
overrideinherited |
◆ GetConditionOverlayTooltipText()
FText SDialogueGraphNode_Edge::GetConditionOverlayTooltipText |
( |
| ) |
const |
|
protected |
◆ GetNodeVisibility()
EVisibility SDialogueGraphNode_Edge::GetNodeVisibility |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetOverlayWidgetBackgroundColor()
FSlateColor SDialogueGraphNode_Edge::GetOverlayWidgetBackgroundColor |
( |
bool | bHovered | ) |
const |
|
inlineprotected |
Get the background color to display for the widget overlay. This changes on hover state of sibling nodes
Definition at line 90 of file SDialogueGraphNode_Edge.h.
◆ GetOverlayWidgets()
TArray< FOverlayWidgetInfo > SDialogueGraphNode_Edge::GetOverlayWidgets |
( |
bool | bSelected, |
|
|
const FVector2D & | WidgetSize ) const |
|
override |
◆ GetOverlayWidgetVisibility()
EVisibility SDialogueGraphNode_Edge::GetOverlayWidgetVisibility |
( |
| ) |
const |
|
protected |
◆ GetTransitionColor()
FSlateColor SDialogueGraphNode_Edge::GetTransitionColor |
( |
| ) |
const |
|
inline |
◆ IsValidPin()
bool SDialogueGraphNode_Base::IsValidPin |
( |
UEdGraphPin * | Pin | ) |
|
|
inlineprivateinherited |
◆ MoveTo()
void SDialogueGraphNode_Edge::MoveTo |
( |
const FVector2D & | NewPosition, |
|
|
FNodeSet & | NodeFilter, |
|
|
bool | bMarkDirty = true ) |
|
override |
- Parameters
-
NewPosition | The Node should be relocated to this position in the graph panel |
NodeFilter | Set of nodes to prevent movement on, after moving successfully a node is added to this set. |
Definition at line 48 of file SDialogueGraphNode_Edge.cpp.
◆ OnMouseEnter()
void SDialogueGraphNode_Edge::OnMouseEnter |
( |
const FGeometry & | MyGeometry, |
|
|
const FPointerEvent & | MouseEvent ) |
|
override |
The system will use this event to notify a widget that the cursor has entered it. This event is uses a custom bubble strategy.
- Parameters
-
MyGeometry | The Geometry of the widget receiving the event |
MouseEvent | Information about the input event |
Definition at line 28 of file SDialogueGraphNode_Edge.cpp.
◆ OnMouseLeave()
void SDialogueGraphNode_Edge::OnMouseLeave |
( |
const FPointerEvent & | MouseEvent | ) |
|
|
override |
The system will use this event to notify a widget that the cursor has left it. This event is uses a custom bubble strategy.
- Parameters
-
MouseEvent | Information about the input event |
Definition at line 37 of file SDialogueGraphNode_Edge.cpp.
◆ PerformSecondPassLayout()
void SDialogueGraphNode_Edge::PerformSecondPassLayout |
( |
const TMap< UObject *, TSharedRef< SNode > > & | InNodeToWidgetLookup | ) |
const |
|
override |
◆ PositionBetweenTwoNodesWithOffset()
void SDialogueGraphNode_Edge::PositionBetweenTwoNodesWithOffset |
( |
const FGeometry & | StartGeom, |
|
|
const FGeometry & | EndGeom, |
|
|
int32 | NodeIndex, |
|
|
int32 | MaxNodes ) const |
Calculate position for multiple nodes to be placed between a start and end point, by providing this nodes index and max expected nodes
Definition at line 195 of file SDialogueGraphNode_Edge.cpp.
◆ RequiresSecondPassLayout()
bool SDialogueGraphNode_Edge::RequiresSecondPassLayout |
( |
| ) |
const |
|
inlineoverride |
Returns true if this node is dependent on the location of other nodes (it can only depend on the location of first-pass only nodes)
Definition at line 52 of file SDialogueGraphNode_Edge.h.
◆ SetOwner()
void SDialogueGraphNode_Base::SetOwner |
( |
const TSharedRef< SGraphPanel > & | OwnerPanel | ) |
|
|
overrideinherited |
◆ SLATE_BEGIN_ARGS() [1/2]
SDialogueGraphNode_Base::SLATE_BEGIN_ARGS |
( |
Self | | ) |
|
|
inlineinherited |
◆ SLATE_BEGIN_ARGS() [2/2]
SDialogueGraphNode_Edge::SLATE_BEGIN_ARGS |
( |
Self | | ) |
|
|
inline |
◆ UpdateGraphNode()
void SDialogueGraphNode_Edge::UpdateGraphNode |
( |
| ) |
|
|
override |
◆ ConditionOverlayWidget
TSharedPtr<SWidget> SDialogueGraphNode_Edge::ConditionOverlayWidget |
|
protected |
◆ DialogueGraphNode_Base
◆ DialogueGraphNode_Edge
◆ PinsNodeBox
TSharedPtr<SVerticalBox> SDialogueGraphNode_Base::PinsNodeBox |
|
protectedinherited |
◆ Settings
The documentation for this class was generated from the following files: