Navigation
API > API/Plugins > API/Plugins/MetasoundEngine > API/Plugins/MetasoundEngine/UMetaSoundBuilderBase
Description
Disconnects the given graph input's respective template nodes and sets the graph input's DataType should it not match the current DataType. Result succeeds if the DataType was successfully changed or if the provided DataType is already the input's current DataType.
| Name | SetGraphInputDataType |
| 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"))
void SetGraphInputDataType
(
FName InputName,
FName DataType,
EMetaSoundBuilderResult & OutResult
)