Navigation
API > API/Editor > API/Editor/GraphEditor
Inheritance Hierarchy
- SGraphNodeDefault
- SGraphNodeKnot
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
| Type | Name | Description | |
|---|---|---|---|
| bool | bAlwaysShowCommentBubble | The hovered visibility state. If false, comment bubble will only appear on hover. | |
| TSharedPtr< SCommentBubble > | CommentBubble | SharedPtr to comment bubble | |
| const FSlateBrush * | ShadowBrush | ||
| const FSlateBrush * | ShadowBrushSelected |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddPin
(
const TSharedRef< SGraphPin >& PinToAdd |
||
| void | Construct
(
const FArguments& InArgs, |
||
| TSharedPtr< SGraphPin > | CreatePinWidget
(
UEdGraphPin* Pin |
||
| FVector2D | Returns Offset to center comment on the node's only pin | ||
| const FSlateBrush * | GetShadowBrush
(
bool bSelected |
||
| void | OnCommentBubbleToggled
(
bool bInCommentBubbleVisible |
Toggles the hovered visibility state | |
| void | OnCommentTextCommitted
(
const FText& NewComment, |
If bHoveredCommentVisibility is true, hides the comment bubble after a change is committed | |
| void | |||
| void |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |