SGraphNodeKnot

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

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

GraphEditor

Header

/Engine/Source/Editor/GraphEditor/Public/SGraphNodeKnot.h

Include

#include "SGraphNodeKnot.h"

Syntax

class SGraphNodeKnot : public 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

Name Description

Protected variable

bool

 

bAlwaysShowCommentBubble

The hovered visibility state. If false, comment bubble will only appear on hover.

Protected variable

TSharedPtr< SCo...

 

CommentBubble

SharedPtr to comment bubble

Protected variable

const FSlateBru...

 

ShadowBrush

Protected variable

const FSlateBru...

 

ShadowBrushSelected

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs,
    UEdGraphNode* InKnot
)

Protected function Const

FVector2D

 

GetCommentOffset()

Returns Offset to center comment on the node's only pin

Overridden from SGraphNode

Name Description

Public function Virtual

void

 

AddPin

(
    const TSharedRef< SGraphPin >& Pin...
)

Add a new pin to this graph node. The pin must be newly created.

Public function Virtual Const

TSharedPtr< ...

 

CreatePinWidget

(
    UEdGraphPin* Pin
)

Hook that allows derived classes to supply their own SGraphPin derivatives for any pin.

Protected function Virtual

void

 

OnCommentBubbleToggled

(
    bool bInCommentBubbleVisible
)

Toggles the hovered visibility state

Protected function Virtual

void

 

OnCommentTextCommitted

(
    const FText& NewComment,
    ETextCommit::Type CommitInfo
)

If bHoveredCommentVisibility is true, hides the comment bubble after a change is committed

Public function Virtual

void

 

RequestRenameOnSpawn()

Requests a rename when the node was initially spawned

Public function Virtual

void

 

UpdateGraphNode()

Update this GraphNode to match the data that it is observing

Overridden from SNode

Name Description

Public function Virtual Const

const FSlate...

 

GetShadowBrush

(
    bool bSelected
)

Classes

Name

Description

Public struct

FArguments

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss