Navigation
API > API/Editor > API/Editor/GraphEditor
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SNodePanel::SNode
- SGraphNode
- SGraphNodeDefault
- SGraphNodeKnot
- SRigVMGraphNodeKnot
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 | Construct
(
const FArguments& InArgs, |
||
| FVector2D | Returns Offset to center comment on the node's only pin |
Overridden from SGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | AddPin
(
const TSharedRef< SGraphPin >& PinToAdd |
Add a new pin to this graph node. The pin must be newly created. | |
| TSharedPtr< SGraphPin > | 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, |
If bHoveredCommentVisibility is true, hides the comment bubble after a change is committed | |
| void | Requests a rename when the node was initially spawned | ||
| void | Update this GraphNode to match the data that it is observing |
Overridden from SNode
| Type | Name | Description | |
|---|---|---|---|
| const FSlateBrush * | GetShadowBrush
(
bool bSelected |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |