FMaterialEditorUtilities::CreateNewMaterialExpressionComment

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

Windows
MacOS
Linux

References

Module

MaterialEditor

Header

/Engine/Source/Editor/MaterialEditor/Public/MaterialEditorUtilities.h

Include

#include "MaterialEditorUtilities.h"

Source

/Engine/Source/Editor/MaterialEditor/Private/MaterialEditorUtilities.cpp

Syntax

static UMaterialExpressionComment * CreateNewMaterialExpressionComment
(
    const class UEdGraph * Graph,
    const FVector2D & NodePos
)

Remarks

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

Returns

UMaterialExpressionComment* Newly created comment

Parameters

Parameter

Description

Graph

Graph to add comment to

NodePos

Position to place new comment at

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