UMaterialEditingLibrary::ConnectMaterialExpressions

Create connection between two material expressions

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 ConnectMaterialExpressions
(
    [UMaterialExpression](API\Runtime\Engine\Materials\UMaterialExpression) * FromExpression,
    [FString](API\Runtime\Core\Containers\FString) FromOutputName,
    [UMaterialExpression](API\Runtime\Engine\Materials\UMaterialExpression) * ToExpression,
    [FString](API\Runtime\Core\Containers\FString) ToInputName
)

Remarks

Create connection between two material expressions

Parameters

Name 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.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library