Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/MaterialGraph > API/Editor/UnrealEd/MaterialGraph/UMaterialGraph
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 |
UMaterialGraphNode_Comment &42; AddComment
&40;
UMaterialExpressionComment &42; Comment,
bool bIsUserInvoked
&41;
Remarks
Add a Comment to the Graph UMaterialGraphNode_Comment* Newly created Graph node to represent comment
Parameters
| Name | Description |
|---|---|
| Comment | Comment to add |
| bIsUserInvoked | Whether the comment has just been created by the user via the UI |