Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend > API/Plugins/MetasoundFrontend/IGraphController > API/Plugins/MetasoundFrontend/IGraphController/AddTemplateNode
References
| Module | MetasoundFrontend |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundFrontendController.h |
| Include | #include "MetasoundFrontendController.h" |
FNodeHandle AddTemplateNode
(
const INodeTemplate & InNodeTemplate,
FNodeTemplateGenerateInterfaceParams Params,
FGuid InNodeGuid
)
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 |
|---|---|
| InNodeTemplate | Node template to use to generate node |
| 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). |