FMaterialEditorUtilities::CreateNewMaterialExpressionComment

Creates a new material expression comment on the material represented by a graph.

Unreal Engine C++ API Reference > Editor > MaterialEditor > FMaterialEditorUtilities

References

   
Module MaterialEditor
Header /Engine/Source/Editor/MaterialEditor/Public/MaterialEditorUtilities.h
Include #include "MaterialEditorUtilities.h"
Source /Engine/Source/Editor/MaterialEditor/Private/MaterialEditorUtilities.cpp
static [UMaterialExpressionComment](API\Runtime\Engine\Materials\UMaterialExpressionComment) * CreateNewMaterialExpressionComment
(
    const class [UEdGraph](API\Runtime\Engine\EdGraph\UEdGraph) * Graph,
    const FVector2D & NodePos
)

Remarks

Creates a new material expression comment on the material represented by a graph. UMaterialExpressionComment* Newly created comment

Parameters

Name Description
Graph Graph to add comment to
NodePos Position to place new comment at

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library