Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/FMaterialXSurfaceShaderAbstract
Description
Create and connect the output of a MaterialX node that has already a matching in UE to a shader node. If not, search for a registered delegate.
| Name | ConnectMatchingNodeOutputToInput |
| Type | function |
| Header File | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.h |
| Include Path | #include "MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Import/Private/MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.cpp |
bool ConnectMatchingNodeOutputToInput
(
const FConnectNode & Connect
)
true if a shader node has been successfully created and is connected to the given input.
Parameters
| Name | Remarks |
|---|---|
| Node | The MaterialX node of a given type used to create the appropriate shader node. |
| ParentShaderNode | The shader node to connect to. |
| InputChannelName | The input of the ParentShaderNode to connect to. |