Navigation
API > API/Plugins > API/Plugins/PCG
Mimic UEdGraphNode_Comment class layout to store the information in the backend (PCG Graph). Default values come from the default ctor of UEdGraphNode_Comment.
| Name | FPCGGraphCommentNodeData |
| Type | struct |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Editor/PCGGraphComment.h |
| Include Path | #include "Editor/PCGGraphComment.h" |
Syntax
USTRUCT (Meta=(Hidden))
struct FPCGGraphCommentNodeData
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bColorCommentBubble | uint32 | Whether to use Comment Color to color the background of the comment bubble shown when zoomed out. | Editor/PCGGraphComment.h | |
| bCommentBubblePinned | uint8 | Comment bubble pinned state | Editor/PCGGraphComment.h | |
| bCommentBubbleVisible | uint8 | Comment bubble visibility | Editor/PCGGraphComment.h | |
| bCommentBubbleVisible_InDetailsPanel | uint32 | Whether to show a zoom-invariant comment bubble when zoomed out (making the comment readable at any distance). | Editor/PCGGraphComment.h | |
| CommentColor | FLinearColor | Color to style comment with | Editor/PCGGraphComment.h | |
| CommentDepth | int32 | Comment Depth | Editor/PCGGraphComment.h | |
| FontSize | int32 | Size of the text in the comment box | Editor/PCGGraphComment.h | |
| GUID | FGuid | Extra GUID to be unique. | Editor/PCGGraphComment.h | |
| MoveMode | uint8 | Whether the comment should move any fully enclosed nodes around when it is moved. | Editor/PCGGraphComment.h | |
| NodeComment | FString | Editor/PCGGraphComment.h | ||
| NodeDetails | FText | Details field if more info is needed to be communicated (will show up in tooltip) | Editor/PCGGraphComment.h | |
| NodeHeight | int32 | Height of node in the editor; only used when the node can be resized | Editor/PCGGraphComment.h | |
| NodePosX | int32 | X position of node in the editor | Editor/PCGGraphComment.h | |
| NodePosY | int32 | Y position of node in the editor | Editor/PCGGraphComment.h | |
| NodeWidth | int32 | Width of node in the editor; only used when the node can be resized | Editor/PCGGraphComment.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void InitializeFromCommentNode
(
const UEdGraphNode_Comment& CommentNode |
Editor/PCGGraphComment.h |