UMaterialGraph::AddExpression

Add an Expression to the Graph

Choose your operating system:

Windows

macOS

Linux

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

Syntax

UMaterialGraphNode * AddExpression
(
    UMaterialExpression * Expression,
    bool bUserInvoked
)

Remarks

Add an Expression to the Graph

Returns

UMaterialGraphNode* Newly created Graph node to represent expression

Parameters

Parameter

Description

Expression

Expression to add