UMaterialGraphNode_Comment

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/MaterialGraph/MaterialGraphNode_Comment.h

Include

#include "MaterialGraph/MaterialGraphNode_Comment.h"

Syntax

class UMaterialGraphNode_Comment : public UEdGraphNode_Comment

Variables

Name Description

Public variable

FSetMaterialDir...

 

MaterialDirtyDelegate

Marks the Material Editor as dirty so that user prompted to apply change

Public variable

UMaterialExpres...

 

MaterialExpressionComment

Material Comment that this node represents

Constructors

Name Description

Public function

UMaterialGraphNode_Comment

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

PostCopyNode()

Fix up the node's owner after being copied

Overridden from UEdGraphNode

Name Description

Public function Virtual Const

bool

 

CanCreateUnderSpecifiedSchema

(
    const UEdGraphSchema* Schema
)

Determine if this node can be created under the specified schema

Public function Virtual Const

void

 

GetNodeContextMenuActions

(
    UToolMenu* Menu,
    UGraphNodeContextMenuContext* ...
)

Gets a list of actions that can be done to this particular 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

 

PrepareForCopying()

Perform any steps necessary prior to copying a node into the paste buffer

Public function Virtual

void

 

ResizeNode

(
    const FVector2D& NewSize
)

Update node size to new value

Overridden from UObject

Name Description

Public function Virtual

void

 

PostDuplicate

(
    bool bDuplicateForPIE
)

Called after duplication & serialization and before PostLoad.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostEditImport()

Called after importing property values for this object (paste, duplicate or .t3d import) Allow the object to perform any cleanup for properties which shouldn't be duplicated or are unsupported by the script serialization

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