Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | UEdGraphNode_Comment |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/EdGraphNode_Comment.h |
| Include Path | #include "EdGraphNode_Comment.h" |
Syntax
UCLASS (MinimalAPI)
class UEdGraphNode_Comment : public UEdGraphNode
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UEdGraphNode → UEdGraphNode_Comment
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UEdGraphNode_Comment
(
const FObjectInitializer& ObjectInitializer |
EdGraphNode_Comment.h |
Enums
Public
| Name | Remarks |
|---|---|
| ESelectionState | Override the default selection state of this graph node |
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. | EdGraphNode_Comment.h |
|
| bCommentBubbleVisible_InDetailsPanel | uint32 | Whether to show a zoom-invariant comment bubble when zoomed out (making the comment readable at any distance). | EdGraphNode_Comment.h |
|
| CommentColor | FLinearColor | Color to style comment with | EdGraphNode_Comment.h |
|
| CommentDepth | int32 | Comment Depth | EdGraphNode_Comment.h | |
| FontSize | int32 | Size of the text in the comment box | EdGraphNode_Comment.h |
|
| MoveMode | TEnumAsByte< ECommentBoxMode::Type > | Whether the comment should move any fully enclosed nodes around when it is moved | EdGraphNode_Comment.h |
|
| NodeDetails | FText | Details field if more info is needed to be communicated (will show up in tooltip) | EdGraphNode_Comment.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedTooltip | FNodeTextCache | Constructing FText strings can be costly, so we cache the node's tooltip | EdGraphNode_Comment.h | |
| NodesUnderComment | TArray< TObjectPtr< class UObject > > | Nodes currently within the region of the comment | EdGraphNode_Comment.h | |
| SelectionState | ESelectionState | Override the default selection state of this graph node | EdGraphNode_Comment.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddNodeUnderComment
(
UObject* Object |
Add a node that will be dragged when this comment is dragged | EdGraphNode_Comment.h | |
void ClearNodesUnderComment() |
Clear all of the nodes which are currently being dragged with this comment | EdGraphNode_Comment.h | |
virtual int32 GetFontSize() |
Return the font size of the comment | EdGraphNode_Comment.h | |
const FCommentNodeSet & GetNodesUnderComment() |
Return the set of nodes underneath the comment | EdGraphNode_Comment.h | |
void SetBounds
(
const FSlateRect& Rect |
Set the Bounds for the comment node | EdGraphNode_Comment.h | |
void SetSelectionState
(
const ESelectionState InSelectionState |
EdGraphNode_Comment.h |
Overridden from UEdGraphNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AllocateDefaultPins() |
EdGraphNode_Comment.h | ||
virtual FString GetDocumentationExcerptName() |
EdGraphNode_Comment.h | ||
virtual FString GetDocumentationLink() |
EdGraphNode_Comment.h | ||
virtual FSlateIcon GetIconAndTint
(
FLinearColor& OutColor |
EdGraphNode_Comment.h | ||
virtual FLinearColor GetNodeCommentColor() |
EdGraphNode_Comment.h | ||
virtual FText GetNodeTitle
(
ENodeTitleType::Type TitleType |
EdGraphNode_Comment.h | ||
virtual FText GetPinNameOverride
(
const UEdGraphPin& Pin |
EdGraphNode_Comment.h | ||
virtual FText GetTooltipText() |
EdGraphNode_Comment.h | ||
virtual TSharedPtr< class INameValidatorInterface > MakeNameValidator() |
EdGraphNode_Comment.h | ||
virtual void OnRenameNode
(
const FString& NewName |
EdGraphNode_Comment.h | ||
virtual void PostPlacedNewNode() |
EdGraphNode_Comment.h | ||
virtual void ResizeNode
(
const FVector2f& NewSize |
EdGraphNode_Comment.h | ||
virtual bool ShouldOverridePinNames() |
EdGraphNode_Comment.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool IsSelectedInEditor() |
EdGraphNode_Comment.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
EdGraphNode_Comment.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void AddReferencedObjects
(
UObject* InThis, |
EdGraphNode_Comment.h |