UMaterialEditingLibrary::ConnectMaterialExpressions

Create connection between two material expressions

Windows
MacOS
Linux

References

Module

MaterialEditor

Header

/Engine/Source/Editor/MaterialEditor/Public/MaterialEditingLibrary.h

Include

#include "MaterialEditingLibrary.h"

Source

/Engine/Source/Editor/MaterialEditor/Private/MaterialEditingLibrary.cpp

Syntax

static bool ConnectMaterialExpressions
(
    UMaterialExpression * FromExpression,
    FString FromOutputName,
    UMaterialExpression * ToExpression,
    FString ToInputName
)

Remarks

Create connection between two material expressions

Parameters

Parameter

Description

FromExpression

Expression to make connection from

FromOutputName

Name of output of FromExpression to make connection from. Leave empty to use first output.

ToExpression

Expression to make connection to

ToInputName

Name of input of ToExpression to make connection to. Leave empty to use first input.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss