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 |
bool ConnectNodeGraphOutputToInput
(
MaterialX::InputPtr InputToNodeGraph,
UInterchangeShaderNode * ShaderNode,
const FString & ParentInputName
)
Remarks
Connect an ouput in the NodeGraph to the ShaderGraph. true if the given input is attached to one of the outputs of a node graph.
Parameters
| Name | Description |
|---|---|
| InputToNodeGraph | The input from the standard surface to retrieve the output in the NodeGraph. |
| ShaderNode | The Interchange shader node to connect the MaterialX's node graph to. |
| ParentInputName | The name of the input of the shader node that we want the node graph to be connected to. |