UMaterialGraph::AddComment

Add a Comment to the Graph

Choose your operating system:

Windows

macOS

Linux

References

Module

UnrealEd

Header

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

Include

#include "MaterialGraph/MaterialGraph.h"

Source

/Engine/Source/Editor/UnrealEd/Private/MaterialGraph.cpp

Syntax

UMaterialGraphNode_Comment * AddComment
(
    UMaterialExpressionComment * Comment,
    bool bIsUserInvoked
)

Remarks

Add a Comment to the Graph

Returns

UMaterialGraphNode_Comment* Newly created Graph node to represent comment

Parameters

Parameter

Description

Comment

Comment to add

bIsUserInvoked

Whether the comment has just been created by the user via the UI