Navigation
API > API/Plugins > API/Plugins/MetasoundEngine > API/Plugins/MetasoundEngine/UMetaSoundCacheSubsystem
References
| Module | MetasoundEngine |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundOperatorCacheSubsystem.h |
| Include | #include "MetasoundOperatorCacheSubsystem.h" |
| Source | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Private/MetasoundOperatorCacheSubsystem.cpp |
UFUNCTION (BlueprintCallable, Category="MetaSound", Meta=(DisplayName="Precache MetaSound"))
void PrecacheMetaSound
(
UPARAM="MetaSound Source") UMetaSoundSource * InMetaSound,
UPARAM="Num Instances") int32 InNumInstances
)
Remarks
Builds the requested number of MetaSound operators (asynchronously) and puts them in the pool for playback. (If these operators are not yet available when the MetaSound attempts to play, one will be created Independent of this request.)