Module |
|
Header |
/Engine/Source/Editor/MaterialEditor/Public/MaterialEditorUtilities.h |
Include |
#include "MaterialEditorUtilities.h" |
Source |
/Engine/Source/Editor/MaterialEditor/Private/MaterialEditorUtilities.cpp |
static UMaterialExpressionComment * CreateNewMaterialExpressionComment
(
const class UEdGraph * Graph,
const FVector2D & NodePos
)
Creates a new material expression comment on the material represented by a graph.
UMaterialExpressionComment* Newly created comment
Parameter |
Description |
---|---|
Graph |
Graph to add comment to |
NodePos |
Position to place new comment at |