Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/FMaterialXSurfaceShaderAbstract
Description
Retrieve the Interchange parent name of a MaterialX node. Useful when a node is a combination of several nodes connected to different inputs, such as Noise3D.
| Name | GetAttributeParentName |
| 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 |
FString GetAttributeParentName
(
MaterialX::NodePtr Node,
MaterialX::InputPtr ConnectedInput
) const
The node of the parent.
Parameters
| Name | Remarks |
|---|---|
| Node | The node whose parent name is retrieved. |
| ConnectedInput | The connected input to the Node, may be null, may happen at the top of a graph when there's upstream/downstream connection |