Navigation
API > API/Plugins > API/Plugins/MetasoundEngine > API/Plugins/MetasoundEngine/UMetaSoundAssetSubsystem
Description
Replaces dependencies in a MetaSound with the given class name and version with another MetaSound with the given class name and version. Can be asset or code-defined. It is up to the caller to validate the two classes have matching interfaces (Swapping with classes of unmatched interfaces can leave MetaSound in non-executable state).
| Name | ReplaceReferencesInDirectory |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundAssetSubsystem.h |
| Include Path | #include "MetasoundAssetSubsystem.h" |
| Source | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Private/MetasoundAssetSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="MetaSounds|Utilities", Meta=(AdvancedDisplay="3"))
bool ReplaceReferencesInDirectory
(
const TArray < FMetaSoundAssetDirectory > & InDirectories,
const FMetasoundFrontendClassName & OldClassName,
const FMetasoundFrontendClassName & NewClassName,
const FMetasoundFrontendVersionNumber OldVersion,
const FMetasoundFrontendVersionNumber NewVersion
)