UMaterialEditingLibrary::ConnectMaterialProperty

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

Unreal Engine C++ API Reference > Editor > MaterialEditor > UMaterialEditingLibrary

References

   
Module MaterialEditor
Header /Engine/Source/Editor/MaterialEditor/Public/MaterialEditingLibrary.h
Include #include "MaterialEditingLibrary.h"
Source /Engine/Source/Editor/MaterialEditor/Private/MaterialEditingLibrary.cpp
static bool ConnectMaterialProperty
(
    [UMaterialExpression](API\Runtime\Engine\Materials\UMaterialExpression) * FromExpression,
    [FString](API\Runtime\Core\Containers\FString) FromOutputName,
    EMaterialProperty Property
)

Remarks

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

Parameters

Name 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

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library