FMaterialEditorUtilities::CreateNewMaterialExpressionComposite

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

Choose your operating system:

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 UMaterialExpressionComposite * CreateNewMaterialExpressionComposite
(
    const class UEdGraph * Graph,
    const FVector2D & NodePos
)

Remarks

Creates a new material expression composite 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