Navigation
API > API/Plugins > API/Plugins/MetasoundEngine > API/Plugins/MetasoundEngine/UMetaSoundBuilderBase
Description
Adds a graph input node with the given name, DataType, and sets the graph input to default value. Returns the new input node's output handle if it was successfully created, or an invalid handle if it failed.
| Name | AddGraphInputNode |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundBuilderBase.h |
| Include Path | #include "MetasoundBuilderBase.h" |
| Source | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Private/MetasoundBuilderBase.cpp |
UFUNCTION (BlueprintCallable, Category="Audio|MetaSound|Builder",
Meta=(ExpandEnumAsExecs="OutResult", AdvancedDisplay="3"))
FMetaSoundBuilderNodeOutputHandle AddGraphInputNode
(
FName Name,
FName DataType,
FMetasoundFrontendLiteral DefaultValue,
EMetaSoundBuilderResult & OutResult,
bool bIsConstructorInput
)