UEdGraphNode_Comment

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/EdGraphNode_Comment.h

Include

#include "EdGraphNode_Comment.h"

Syntax

class UEdGraphNode_Comment : public UEdGraphNode

Variables

Name Description

Public variable

uint32: 1

 

bColorCommentBubble

Whether to use Comment Color to color the background of the comment bubble shown when zoomed out.

Public variable

uint32: 1

 

bCommentBubbleVisible_InDetailsPanel

Whether to show a zoom-invariant comment bubble when zoomed out (making the comment readable at any distance).

Public variable

FLinearColor

 

CommentColor

Color to style comment with

Public variable

int32

 

CommentDepth

Comment Depth

Public variable

int32

 

FontSize

Size of the text in the comment box

Public variable

TEnumAsByte< EC...

 

MoveMode

Whether the comment should move any fully enclosed nodes around when it is moved

Constructors

Name Description

Public function

UEdGraphNode_Comment

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

AddNodeUnderComment

(
    UObject* Object
)

Add a node that will be dragged when this comment is dragged

Public function Static

void

 

AddReferencedObjects

(
    UObject* InThis,
    FReferenceCollector& Collector
)

Public function

void

 

ClearNodesUnderComment()

Clear all of the nodes which are currently being dragged with this comment

Public function Const

const FComme...

 

GetNodesUnderComment()

Return the set of nodes underneath the comment

Public function

void

 

SetBounds

(
    const FSlateRect& Rect
)

Set the Bounds for the comment node

Overridden from UEdGraphNode

Name Description

Public function Virtual

void

 

AllocateDefaultPins()

Allocate default pins for a given node, based only the NodeType, which should already be filled in.

Public function Virtual Const

FString

 

GetDocumentationExcerptName()

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)

Public function Virtual Const

FString

 

GetDocumentationLink()

Returns the link used for external documentation for the graph node

Public function Virtual Const

FSlateIcon

 

GetIconAndTint

(
    FLinearColor& OutColor
)

Public function Virtual Const

FLinearColor

 

GetNodeCommentColor()

Get the draw color for a node's comment popup

Public function Virtual Const

FText

 

GetNodeTitle

(
    ENodeTitleType::Type TitleType
)

Gets the name of this node, shown in title bar

Public function Virtual Const

FText

 

GetPinNameOverride

(
    const UEdGraphPin& Pin
)

Gets the overridden name for the specified pin, if any

Public function Virtual Const

FText

 

GetTooltipText()

Gets the tooltip to display when over the node

Public function Virtual Const

TSharedPtr< ...

 

MakeNameValidator()

Create a name validator for this node

Public function Virtual

void

 

OnRenameNode

(
    const FString& NewName
)

Called when this node is being renamed after a successful name validation

Public function Virtual

void

 

PostPlacedNewNode()

A chance to initialize a new node; called just once when a new node is created, before AutowireNewNode or AllocateDefaultPins is called.

Public function Virtual

void

 

ResizeNode

(
    const FVector2D& NewSize
)

Update node size to new value

Public function Virtual Const

bool

 

ShouldOverridePinNames()

Whether or not this node should be given the chance to override pin names.

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss