FMaterialEditorUtilities::GetVisibleMaterialParametersFromExpression

Recursively walks the expression tree and parses the visible expression branches.

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 void GetVisibleMaterialParametersFromExpression
(
    FMaterialExpressionKey MaterialExpressionKey,
    UMaterialInstance * MaterialInstance,
    TArray< FMaterialParameterInfo > & VisibleExpressions,
    TArray< FGetVisibleMaterialParametersFunctionState * > & FunctionStack
)

Remarks

Recursively walks the expression tree and parses the visible expression branches.

Parameters

Parameter

Description

MaterialExpression

The expression to parse.

MaterialInstance

The material instance that contains all parameter overrides.

VisisbleExpressions

The array that will contain the name's of the visible parameter expressions.