Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/MaterialX > API/Plugins/InterchangeImport/MaterialX/MaterialXUtils > API/Plugins/InterchangeImport/MaterialX/MaterialXUtils/FMaterialXSurfac-
References
| Module | InterchangeImport |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.h |
| Include | #include "MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Import/Private/MaterialX/MaterialXUtils/MaterialXSurfaceShaderAbstract.cpp |
void ConnectNodeCategoryOutputToInput
(
const MaterialX::Edge & Edge,
UInterchangeShaderNode * ParentShaderNode,
const FString & InputChannelName,
const FString & OutputName
)
Remarks
Create and connect manually the output of a MaterialX node to a shader node. true if a shader node has been successfully created and is connected to the given input.
Parameters
| Name | Description |
|---|---|
| Edge | The MaterialX edge that has the current node, its parent and the input bridge between the two. |
| ParentShaderNode | The shader node to connect to. |
| InputChannelName | The input of the ParentShaderNode to connect to. |