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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback