UMaterialEditingLibrary::ConnectMaterialProperty

Connect a material expression output to one of the material property inputs (e.g. diffuse color, opacity etc)

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 ConnectMaterialProperty
(
    UMaterialExpression * FromExpression,
    FString FromOutputName,
    EMaterialProperty Property
)

Remarks

Connect a material expression output to one of the material property inputs (e.g. diffuse color, opacity etc)

Parameters

Parameter

Description

FromExpression

Expression to make connection from

FromOutputName

Name of output of FromExpression to make connection from

Property

Property input on material to make connection to

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