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 |
UInterchangeShaderNode * CreateShaderNode
(
MaterialX::ElementPtr Element,
const FString & NodeName,
const FString & ShaderType,
const FString & OutputName
)
Remarks
Helper function to create an InterchangeShaderNode. The shader node that was created.
Parameters
| Name | Description |
|---|---|
| Element | The element that we take the whole hierarchy from to ensure the uniqueness of the name |
| NodeName | The name of the shader node. |
| ShaderType | The type of shader node we want to create. |
| OutputName | The output name of the MaterialX node. The default name is 'out' as stated by the standard library. |