Navigation
API > API/Plugins > API/Plugins/MetasoundEngine
| Name | UMetaSoundCacheSubsystem |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundOperatorCacheSubsystem.h |
| Include Path | #include "MetasoundOperatorCacheSubsystem.h" |
Syntax
UCLASS (MinimalAPI)
class UMetaSoundCacheSubsystem : public UAudioEngineSubsystem
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → USubsystem → UDynamicSubsystem → UAudioEngineSubsystem → UMetaSoundCacheSubsystem
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BuildParams | FSoundGeneratorInitParams | MetasoundOperatorCacheSubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void PrecacheMetaSound
(
UMetaSoundSource* InMetaSound, |
Builds the requested number of MetaSound operators (asynchronously) and puts them in the pool for playback. | MetasoundOperatorCacheSubsystem.h |
|
void RemoveCachedOperatorsForMetaSound
(
UMetaSoundSource* InMetaSound |
Clear the operator pool of any operators associated with the given MetaSound | MetasoundOperatorCacheSubsystem.h |
|
void TouchOrPrecacheMetaSound
(
UMetaSoundSource* InMetaSound, |
Same as PrecacheMetaSound except cached operator that already exists in the cache will be moved to the top instead of building, any operators that we couldn't move to the top, will be built. | MetasoundOperatorCacheSubsystem.h |
|
Overridden from UAudioEngineSubsystem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Update() |
MetasoundOperatorCacheSubsystem.h |
Overridden from USubsystem
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Initialize
(
FSubsystemCollectionBase& Collection |
MetasoundOperatorCacheSubsystem.h | ||
virtual bool ShouldCreateSubsystem
(
UObject* Outer |
MetasoundOperatorCacheSubsystem.h |