Navigation
API > API/Editor > API/Editor/UnrealEd
Inheritance Hierarchy
- UEdGraphNode
- UEdGraphNode_Comment
- UMaterialGraphNode_Comment
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EdGraphNode_Comment.h |
| Include | #include "EdGraphNode_Comment.h" |
Syntax
UCLASS (MinimalAPI)
class UEdGraphNode_Comment : public UEdGraphNode
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bColorCommentBubble | Whether to use Comment Color to color the background of the comment bubble shown when zoomed out. | |
| uint32: 1 | bCommentBubbleVisible_InDetailsPanel | Whether to show a zoom-invariant comment bubble when zoomed out (making the comment readable at any distance). | |
| FLinearColor | CommentColor | Color to style comment with | |
| int32 | CommentDepth | Comment Depth | |
| int32 | FontSize | Size of the text in the comment box | |
| TEnumAsByte< ECommentBoxMode::Type > | MoveMode | Whether the comment should move any fully enclosed nodes around when it is moved |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UEdGraphNode_Comment
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddNodeUnderComment
(
UObject* Object |
Add a node that will be dragged when this comment is dragged | |
| void | AddReferencedObjects
(
UObject* InThis, |
||
| void | |||
| void | Clear all of the nodes which are currently being dragged with this comment | ||
| FString | |||
| FString | |||
| int32 | GetFontSize () |
Return the font size of the comment | |
| FSlateIcon | GetIconAndTint
(
FLinearColor& OutColor |
||
| FLinearColor | |||
| const FCommentNodeSet & | Return the set of nodes underneath the comment | ||
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
||
| FText | GetPinNameOverride
(
const UEdGraphPin& Pin |
||
| FText | |||
| bool | |||
| TSharedPtr< class INameValidatorInterface > | |||
| void | OnRenameNode
(
const FString& NewName |
||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | |||
| void | ResizeNode
(
const FVector2D& NewSize |
||
| void | SetBounds
(
const FSlateRect& Rect |
Set the Bounds for the comment node | |
| void | SetSelectionState
(
const ESelectionState InSelectionState |
||
| bool |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ESelectionState | Override the default selection state of this graph node |