Navigation
API > API/Editor > API/Editor/GraphEditor
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.
| Name | SGraphNodeKnot |
| Type | class |
| Header File | /Engine/Source/Editor/GraphEditor/Public/SGraphNodeKnot.h |
| Include Path | #include "SGraphNodeKnot.h" |
Syntax
class SGraphNodeKnot : public SGraphNodeDefault
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SPanel → SNodePanel::SNode → SGraphNode → SGraphNodeDefault → SGraphNodeKnot
- FSlateControlledConstruction → SWidget → SPanel → SNodePanel::SNode → SGraphNode → SGraphNodeDefault → SGraphNodeKnot
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FArguments |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs, |
SGraphNodeKnot.h |
Overridden from SGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddPin
(
const TSharedRef< SGraphPin >& PinToAdd |
Add a new pin to this graph node. The pin must be newly created. | SGraphNodeKnot.h | |
virtual TSharedPtr< SGraphPin > CreatePinWidget
(
UEdGraphPin* Pin |
Hook that allows derived classes to supply their own SGraphPin derivatives for any pin. | SGraphNodeKnot.h | |
virtual void RequestRenameOnSpawn() |
Requests a rename when the node was initially spawned | SGraphNodeKnot.h | |
virtual void UpdateGraphNode() |
Update this GraphNode to match the data that it is observing | SGraphNodeKnot.h |
Overridden from SNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FSlateBrush * GetShadowBrush
(
bool bSelected |
SGraphNodeKnot.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVector2f GetCommentOffset() |
Returns Offset to center comment on the node's only pin | SGraphNodeKnot.h |
Overridden from SGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void OnCommentBubbleToggled
(
bool bInCommentBubbleVisible |
Toggles the hovered visibility state | SGraphNodeKnot.h | |
virtual void OnCommentTextCommitted
(
const FText& NewComment, |
If bHoveredCommentVisibility is true, hides the comment bubble after a change is committed | SGraphNodeKnot.h |