Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend > API/Plugins/MetasoundFrontend/IGraphController
References
| Module | MetasoundFrontend |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundFrontendController.h |
| Include | #include "MetasoundFrontendController.h" |
FNodeHandle AddTemplateNode
&40;
const FNodeRegistryKey & InKey,
FMetasoundFrontendNodeInterface && InNodeInterface,
FGuid InNodeGuid
&41;
Remarks
Add a new template node to this graph, providing the defined interface as expected by the caller. Node handle for class. On error, an invalid handle is returned.
Parameters
| Name | Description |
|---|---|
| InKey | Class key (must correspond with a class in the registry that was registered as a template). |
| InNodeInterface | Interface for node class. Validated by template class registered in the node class registry. If invalid, node is not created/added. |
| InNodeGuid | (Optional) Explicit guid for the new node. Must be unique within the graph. Only useful to specify explicitly when caller is managing or tracking the graph's guids (ex. replacing removed node). |