Navigation
API > API/Editor > API/Editor/UnrealEd
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEdGraphNode
- UEdGraphNode_Comment
- UMaterialGraphNode_Comment
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/EdGraphNode_Comment.h |
| Include | #include "EdGraphNode_Comment.h" |
Syntax
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 | Clear all of the nodes which are currently being dragged with this comment | ||
| int32 | GetFontSize () |
Return the font size of the comment | |
| const FCommentNodeSet & | Return the set of nodes underneath the comment | ||
| void | SetBounds
(
const FSlateRect& Rect |
Set the Bounds for the comment node | |
| void | SetSelectionState
(
const ESelectionState InSelectionState |
Overridden from UEdGraphNode
| Type | Name | Description | |
|---|---|---|---|
| void | Allocate default pins for a given node, based only the NodeType, which should already be filled in. | ||
| FString | Returns the name of the excerpt to display from the specified external documentation link for the graph node Default behavior is to return the class name (including prefix) | ||
| FString | Returns the link used for external documentation for the graph node | ||
| FSlateIcon | GetIconAndTint
(
FLinearColor& OutColor |
||
| FLinearColor | Get the draw color for a node's comment popup | ||
| FText | GetNodeTitle
(
ENodeTitleType::Type TitleType |
Gets the name of this node, shown in title bar | |
| FText | GetPinNameOverride
(
const UEdGraphPin& Pin |
Gets the overridden name for the specified pin, if any | |
| FText | Gets the tooltip to display when over the node | ||
| TSharedPtr< class INameValidatorInterface > | Create a name validator for this node | ||
| void | OnRenameNode
(
const FString& NewName |
Called when this node is being renamed after a successful name validation | |
| void | A chance to initialize a new node; called just once when a new node is created, before AutowireNewNode or AllocateDefaultPins is called. | ||
| void | ResizeNode
(
const FVector2D& NewSize |
Update node size to new value | |
| bool | Whether or not this node should be given the chance to override pin names. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | Test the selection state of a UObject | ||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
Enums
| Type | Name | Description | |
|---|---|---|---|
| ESelectionState | Override the default selection state of this graph node |