Navigation
API > API/Plugins > API/Plugins/MetasoundEngine > API/Plugins/MetasoundEngine/UMetaSoundBuilderBase
Description
Disconnects the given graph output's respective template nodes and sets the graph output'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 output's current DataType.
| Name | SetGraphOutputDataType |
| 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 SetGraphOutputDataType
(
FName OutputName,
FName DataType,
EMetaSoundBuilderResult & OutResult
)