Module |
|
Header |
/Engine/Source/Editor/MaterialEditor/Public/MaterialEditingLibrary.h |
Include |
#include "MaterialEditingLibrary.h" |
Source |
/Engine/Source/Editor/MaterialEditor/Private/MaterialEditingLibrary.cpp |
static bool ConnectMaterialProperty
(
UMaterialExpression * FromExpression,
FString FromOutputName,
EMaterialProperty Property
)
Connect a material expression output to one of the material property inputs (e.g. diffuse color, opacity etc)
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 |