Navigation
API > API/Plugins > API/Plugins/InterchangeImport > API/Plugins/InterchangeImport/MaterialX > API/Plugins/InterchangeImport/MaterialX/MaterialXUtils > API/Plugins/InterchangeImport/MaterialX/MaterialXUtils/FMaterialXBase
References
| Module | InterchangeImport |
| Header | /Engine/Plugins/Interchange/Runtime/Source/Import/Public/MaterialX/MaterialXUtils/MaterialXBase.h |
| Include | #include "MaterialX/MaterialXUtils/MaterialXBase.h" |
| Source | /Engine/Plugins/Interchange/Runtime/Source/Import/Private/MaterialX/MaterialXUtils/MaterialXBase.cpp |
MaterialX::InputPtr GetInput
&40;
MaterialX::NodePtr Node,
const char &42; InputName
&41;
Remarks
Retrieve the input from a surfaceshader node, or take the default input from the library, this function should only be called after testing the MaterialX libraries have been successfully imported, meaning the node definition of the surfaceshader should always be valid the input from the given name
Parameters
| Name | Description |
|---|---|
| StandardSurface | the |
| InputName | the input name to retrieve |