UMaterialGraph::AddComment

Add a Comment to the Graph

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

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