Navigation
API > API/Editor > API/Editor/GraphEditor
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SNodePanel::SNode
- SGraphNode
- SGraphNodeResizable
- SGraphNodeComment
- SDataflowEdNodeComment
- SRigVMGraphNodeComment
References
| Module | GraphEditor |
| Header | /Engine/Source/Editor/GraphEditor/Public/SGraphNodeComment.h |
| Include | #include "SGraphNodeComment.h" |
Syntax
class SGraphNodeComment : public SGraphNodeResizable
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bCachedBubbleVisibility | Was the bubble desired to be visible last frame? | |
| FString | CachedCommentTitle | Cached comment title | |
| int32 | CachedFontSize | Cached font size |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs, |
||
| FSlateColor | |||
| FSlateColor | |||
| FSlateColor | |||
| void | HandleSelection
(
bool bIsSelected, |
Helper method to update selection state of comment and any nodes 'contained' within it | |
| bool | IsNodeUnderComment
(
UEdGraphNode_Comment* InCommentNode, |
Helper function to determine if a node is under this comment widget or not |
Overridden from SGraphNodeResizable
| Type | Name | Description | |
|---|---|---|---|
| FSlateRect | |||
| FVector2D | Return largest desired node size | ||
| float | Get the current titlebar size |
Overridden from SGraphNode
| Type | Name | Description | |
|---|---|---|---|
| FSlateColor | Return the desired comment bubble color | ||
| FSlateRect | GetTitleRect () |
Return rect of the title bar | |
| bool | Helper function to check if node can be renamed | ||
| void | PopulateMetaTag
(
FGraphNodeMetaData* TagMeta |
Populate a meta data tag with information about this graph node | |
| void | Update this GraphNode to match the data that it is observing |
Overridden from SNode
| Type | Name | Description | |
|---|---|---|---|
| bool | CanBeSelected
(
const FVector2D& MousePositionInNode |
Return if the node can be selected, by pointing given location | |
| void | Called when user interaction has completed | ||
| FVector2D | Return size of the title bar | ||
| FString | |||
| void | GetOverlayBrushes
(
bool bSelected, |
Populate the brushes array with any overlay brushes to render | |
| const FSlateBrush * | GetShadowBrush
(
bool bSelected |
||
| int32 | GetSortDepth () |
Returns node sort depth, defaults to and is generally 0 for most nodes. | |
| void | Called when user is moving the comment node | ||
| bool | Return false if this node should not be culled. |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float |
A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user. | |
| void | OnDragEnter
(
const FGeometry& MyGeometry, |
DRAG AND DROP (DragDrop) Called during drag and drop when the drag enters a widget. | |
| FReply | OnDrop
(
const FGeometry& MyGeometry, |
Called when the user is dropping something onto a widget; terminates drag and drop. | |
| FReply | OnMouseButtonDoubleClick
(
const FGeometry& InMyGeometry, |
Called when a mouse button is double clicked. Override this in derived classes. | |
| FReply | OnMouseButtonUp
(
const FGeometry& MyGeometry, |
The system calls this method to notify the widget that a mouse button was release within it. | |
| void | Ticks this widget with Geometry. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |