UMaterialGraph::AddSubGraph

Add a Subgraph 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

UMaterialGraph * AddSubGraph
(
    UMaterialExpression * InSubgraphExpression
)

Remarks

Add a Subgraph to the Graph

Returns

UMaterialGraph* Newly created subgraph

Parameters

Parameter

Description

InSubgraphExpression, expression

that will represent the new subgraph in this graph.