SGraphNodeKnot

The visual representation of a control point meant to adjust how connections are routed, also known as a Reroute node.

Unreal Engine C++ API Reference > Editor > GraphEditor

Inheritance Hierarchy

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/SGraphNodeKnot.h
Include #include "SGraphNodeKnot.h"

Syntax

class SGraphNodeKnot : public [SGraphNodeDefault](API\Editor\GraphEditor\SGraphNodeDefault)  

Remarks

The visual representation of a control point meant to adjust how connections are routed, also known as a Reroute node. The input knot node should have properly implemented ShouldDrawNodeAsControlPointOnly to return true with valid indices for its pins.

Variables

Type Name Description
bool bAlwaysShowCommentBubble The hovered visibility state. If false, comment bubble will only appear on hover.
TSharedPtr< SCo... CommentBubble SharedPtr to comment bubble
const FSlateBru... ShadowBrush  
const FSlateBru... ShadowBrushSelected  

Functions

Type Name Description
void Construct ( const FArguments& InArgs, UEdGraphNode* InKnot )  
FVector2D GetCommentOffset () Returns Offset to center comment on the node's only pin

Overridden from SGraphNode

Type Name Description
void AddPin ( const TSharedRef< SGraphPin >& Pin... ) Add a new pin to this graph node. The pin must be newly created.
TSharedPtr< ... CreatePinWidget ( UEdGraphPin* Pin ) Hook that allows derived classes to supply their own SGraphPin derivatives for any pin.
void OnCommentBubbleToggled ( bool bInCommentBubbleVisible ) Toggles the hovered visibility state
void OnCommentTextCommitted ( const FText& NewComment, ETextCommit::Type CommitInfo ) If bHoveredCommentVisibility is true, hides the comment bubble after a change is committed
void RequestRenameOnSpawn () Requests a rename when the node was initially spawned
void UpdateGraphNode () Update this GraphNode to match the data that it is observing

Overridden from SNode

Type Name Description
const FSlate... GetShadowBrush ( bool bSelected )  

Classes

Type Name Description
Public struct FArguments  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library