UMaterialGraph::GetUnusedExpressions

Get a list of nodes representing expressions that are not used in the Material

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

void GetUnusedExpressions
(
    TArray< class UEdGraphNode * > & UnusedNodes
) const

Remarks

Get a list of nodes representing expressions that are not used in the Material

Parameters

Parameter

Description

UnusedNodes

Array to contain nodes representing unused expressions