Navigation
API > API/Plugins > API/Plugins/MetasoundEngine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- USubsystem
- UDynamicSubsystem
- UEngineSubsystem
- UMetaSoundAssetSubsystem
References
| Module | MetasoundEngine |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundAssetSubsystem.h |
| Include | #include "MetasoundAssetSubsystem.h" |
Syntax
UCLASS&40;&41;
class UMetaSoundAssetSubsystem :
public UEngineSubsystem,
public Metasound::Frontend::IMetaSoundAssetManager
Remarks
The subsystem in charge of the MetaSound asset registry
Functions
| Type | Name | Description | |
|---|---|---|---|
| Metasound::Frontend::FNodeRegistryKey | AddOrUpdateAsset
(
const FAssetData& InAssetData |
||
| void | |||
| void | |||
| void | RebuildDenyListCache
(
const UAssetManager& InAssetManager |
||
| void | RegisterAssetClassesInDirectories
(
const TArray< FMetaSoundAssetDirectory >& Directories |
||
| void | RemoveAsset
(
const FAssetData& InAssetData |
||
| void | RemoveAsset
(
const UObject& InObject |
||
| void | RenameAsset
(
const FAssetData& InAssetData, |
||
| void | ResetAssetClassDisplayName
(
const FAssetData& InAssetData |
||
| void | SearchAndIterateDirectoryAssets
(
const TArray< FDirectoryPath >& InDirectories, |
||
| void | UnregisterAssetClassesInDirectories
(
const TArray< FMetaSoundAssetDirectory >& Directories |
Overridden from USubsystem
| Type | Name | Description | |
|---|---|---|---|
| void | Initialize
(
FSubsystemCollectionBase& Collection |
Implement this for initialization of instances of the system |
Overridden from IMetaSoundAssetManager
| Type | Name | Description | |
|---|---|---|---|
| void | AddAssetReferences
(
FMetasoundAssetBase& InAssetBase |
Adds missing assets using the provided asset's local reference class cache. | |
| Metasound::Frontend::FNodeRegistryKey | AddOrUpdateAsset
(
const UObject& InObject |
Add or Update a MetaSound Asset's entry data. | |
| bool | CanAutoUpdate
(
const FMetasoundFrontendClassName& InClassName |
Whether or not the class is eligible for auto-update. | |
| bool | ContainsKey
(
const Metasound::Frontend::FNodeRegistryKey& InRegistryKey |
Whether or not the asset manager has loaded the given asset. | |
| const FSoftObjectPath * | FindObjectPathFromKey
(
const Metasound::Frontend::FNodeRegistryKey& InRegistryKey |
Returns path associated with the given key (null if key is not registered with the AssetManager or was not loaded from asset) | |
| TSet< FAssetInfo > | GetReferencedAssetClasses
(
const FMetasoundAssetBase& InAssetBase |
Generates all asset info associated with registered assets that are referenced by the provided asset's graph. | |
| void | RequestAsyncLoadReferencedAssets
(
FMetasoundAssetBase& InAssetBase |
Requests an async load of all async referenced assets of the input asset. | |
| void | Rescans settings for denied assets not to run reference auto-update against. | ||
| FMetasoundAssetBase * | TryLoadAsset
(
const FSoftObjectPath& InObjectPath |
Attempts to load an FMetasoundAssetBase from the given path, or returns it if its already loaded. | |
| FMetasoundAssetBase * | TryLoadAssetFromKey
(
const Metasound::Frontend::FNodeRegistryKey& InRegistryKey |
Returns asset associated with the given key (null if key is not registered with the AssetManager or was not loaded from asset) | |
| bool | TryLoadReferencedAssets
(
const FMetasoundAssetBase& InAssetBase, |
Try to load referenced assets of the given asset or return them if they are already loaded (non-recursive). | |
| void | WaitUntilAsyncLoadReferencedAssetsComplete
(
FMetasoundAssetBase& InAssetBase |
Waits until all async load requests related to this asset are complete. |
Typedefs
| Name | Description |
|---|---|
| FAssetInfo |