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 |
static MaterialX::NodePtr CreateNode
&40;
MaterialX::ElementPtr NodeGraph,
const char &42; NodeName,
const char &42; Category,
const TArray< FInputToCopy > & InputsToCopy,
const TArray< FInputToCreate > & InputsToCreate
&41;
Remarks
Helper function that create a MaterialX node, useful to insert a node between 2 nodes especially when an operation cannot be done in one pass If the node already exists in the graph, this one is returned The newly created node
Parameters
| Name | Description |
|---|---|
| NodeGraph | The node graph to insert the new node into |
| NodeName | The name of the node |
| Category | The category of the node to create |
| InputsToCopy | The inputs from another node/nodegraph to copy in the new node, can be empty |
| InputsToCreate | The inputs to create from scratch and insert in the new node, can be empty |