Navigation
API > API/Plugins > API/Plugins/MetasoundEngine
| Name | FMetaSoundAssetManager |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundAssetSubsystem.h |
| Include Path | #include "MetasoundAssetSubsystem.h" |
Syntax
class FMetaSoundAssetManager :
public Metasound::Frontend::FMetaSoundAssetManagerBase ,
public FGCObject
Inheritance Hierarchy
- FGCObject → FMetaSoundAssetManager
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMetaSoundAssetManager() |
MetasoundAssetSubsystem.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FMetaSoundAssetManager() |
MetasoundAssetSubsystem.h |
Structs
| Name | Remarks |
|---|---|
| FPackageLoadedArgs |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FAssetClassInfoMap | TMap< FMetaSoundAssetKey, TArray< Frontend::FMetaSoundAssetClassInfo > > | MetasoundAssetSubsystem.h | |
| FNodeRegistryKey | Frontend::FNodeRegistryKey | MetasoundAssetSubsystem.h | |
| FOnUpdatedAssetLoaded | Frontend::IMetaSoundAssetManager::FOnUpdatedAssetLoaded | MetasoundAssetSubsystem.h | |
| FVersionAssetResults | Frontend::IMetaSoundAssetManager::FVersionAssetResults | MetasoundAssetSubsystem.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActiveAsyncAssetLoadRequests | int32 | MetasoundAssetSubsystem.h | ||
| AsyncLoadIDCounter | int32 | MetasoundAssetSubsystem.h | ||
| bLogActiveAssetsOnShutdown | bool | MetasoundAssetSubsystem.h | ||
| bNotifyTagDataScanComplete | bool | MetasoundAssetSubsystem.h | ||
| ClassInfoMap | FAssetClassInfoMap | MetasoundAssetSubsystem.h | ||
| LoadingDependencies | TArray< FMetaSoundAsyncAssetDependencies > | MetasoundAssetSubsystem.h | ||
| StreamableManager | FStreamableManager | MetasoundAssetSubsystem.h | ||
| TagDataMapCriticalSection | FCriticalSection | Critical section primarily for allowing safe access of class info map during async loading of MetaSound assets. | MetasoundAssetSubsystem.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
Frontend::FMetaSoundAssetClassInfo FindAssetClassInfo
(
const FTopLevelAssetPath& InPath |
Attempts to find the most recent class query info for the asset at the given path without loading asset. | MetasoundAssetSubsystem.h | |
int32 GetActiveAsyncLoadRequestCount() |
MetasoundAssetSubsystem.h | ||
FMetaSoundAssetKey GetAssetKey
(
const FSoftObjectPath& InObjectPath |
MetasoundAssetSubsystem.h | ||
bool IsInitialAssetScanComplete() |
MetasoundAssetSubsystem.h | ||
void IterateAssetTagData
(
TFunctionRef< void(Frontend::FMetaSoundAssetClassInfo)> Iter, |
Iterates all asset tag data (Only recommended in certain editor contexts, as slow and blocks access to reference map). | MetasoundAssetSubsystem.h | |
void IterateReferences
(
const FMetaSoundAssetKey& InKey, |
Iterates all references of a given asset key entry (Only recommended in certain editor contexts, as can be slow for deep reference trees and blocks access to reference map). | MetasoundAssetSubsystem.h | |
void RebuildDenyListCache
(
const UAssetManager& InAssetManager |
MetasoundAssetSubsystem.h | ||
void RegisterAssetClassesInDirectories
(
const TArray< FMetaSoundAssetDirectory >& Directories |
MetasoundAssetSubsystem.h | ||
bool ReplaceReferencesInAsset
(
TScriptInterface< IMetaSoundDocumentInterface > InMetaSound, |
MetasoundAssetSubsystem.h | ||
bool ReplaceReferencesInDirectory
(
const TArray< FMetaSoundAssetDirectory >& InDirectories, |
MetasoundAssetSubsystem.h | ||
void SearchAndIterateDirectoryAssets
(
const TArray< FDirectoryPath >& InDirectories, |
MetasoundAssetSubsystem.h | ||
void SetCanNotifyAssetTagScanComplete() |
MetasoundAssetSubsystem.h | ||
void UnregisterAssetClassesInDirectories
(
const TArray< FMetaSoundAssetDirectory >& Directories |
MetasoundAssetSubsystem.h |
Public Virtual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddOrLoadAndUpdateFromObjectAsync
(
const FAssetData& InAssetData, |
MetasoundAssetSubsystem.h |
Overridden from IMetaSoundAssetManager
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AddAssetReferences
(
FMetasoundAssetBase& InAssetBase |
IMetaSoundAssetManager Implementation | MetasoundAssetSubsystem.h | |
virtual void AddOrUpdateFromAssetData
(
const FAssetData& InAssetData |
MetasoundAssetSubsystem.h | ||
virtual FMetaSoundAssetKey AddOrUpdateFromObject
(
const UObject& InObject |
MetasoundAssetSubsystem.h | ||
virtual bool ContainsKey
(
const Frontend::FNodeRegistryKey& InRegistryKey |
MetasoundAssetSubsystem.h | ||
virtual bool ContainsKey
(
const FMetaSoundAssetKey& InKey |
MetasoundAssetSubsystem.h | ||
virtual FMetasoundAssetBase * FindAsset
(
const FMetaSoundAssetKey& InKey |
MetasoundAssetSubsystem.h | ||
virtual TScriptInterface< IMetaSoundDocumentInterface > FindAssetAsDocumentInterface
(
const FMetaSoundAssetKey& InKey |
MetasoundAssetSubsystem.h | ||
virtual FTopLevelAssetPath FindAssetPath
(
const FMetaSoundAssetKey& InKey |
MetasoundAssetSubsystem.h | ||
virtual TArray< FTopLevelAssetPath > FindAssetPaths
(
const FMetaSoundAssetKey& InKey |
MetasoundAssetSubsystem.h | ||
virtual TArray< Frontend::FMetaSoundClassInfo > FindRegisteredClassInfo
(
const FMetaSoundAssetKey& InKey |
Returns all asset query info with the given asset key (may be more than one due to errors in duplication of assets, improper plugin migration, etc. but should usually just be a single entry) registered with the manager. | MetasoundAssetSubsystem.h | |
virtual const FMetasoundAssetBase * GetAsAsset
(
const UObject& InObject |
MetasoundAssetSubsystem.h | ||
virtual FMetasoundAssetBase * GetAsAsset
(
UObject& InObject |
MetasoundAssetSubsystem.h | ||
virtual TSet< Frontend::IMetaSoundAssetManager::FAssetRef > GetReferencedAssets
(
const FMetasoundAssetBase& InAssetBase |
MetasoundAssetSubsystem.h | ||
virtual bool GetReferencedPresetHierarchy
(
FMetasoundAssetBase& InAsset, |
MetasoundAssetSubsystem.h | ||
virtual Frontend::FMetaSoundAssetRegistrationOptions GetRegistrationOptions() |
MetasoundAssetSubsystem.h | ||
virtual bool IsAssetClass
(
const FMetasoundFrontendClassMetadata& ClassMetadata |
MetasoundAssetSubsystem.h | ||
virtual bool ReassignClassName
(
TScriptInterface< IMetaSoundDocumentInterface > DocInterface |
MetasoundAssetSubsystem.h | ||
virtual void RemoveAsset
(
const FAssetData& InAssetData |
MetasoundAssetSubsystem.h | ||
virtual void RemoveAsset
(
const UObject& InObject |
MetasoundAssetSubsystem.h | ||
virtual void RenameAsset
(
const FAssetData& InAssetData, |
MetasoundAssetSubsystem.h | ||
virtual void RequestAsyncLoadReferencedAssets
(
FMetasoundAssetBase& InAssetBase, |
MetasoundAssetSubsystem.h | ||
virtual void ReregisterLoadedAssets() |
MetasoundAssetSubsystem.h | ||
virtual FMetaSoundAssetManager::FVersionAssetResults SetAccessFlagsOnAssetsInFolders
(
const TArray< FString >& FolderPaths, |
MetasoundAssetSubsystem.h | ||
virtual void SetLogActiveAssetsOnShutdown
(
bool bInLogActiveAssetsOnShutdown |
MetasoundAssetSubsystem.h | ||
virtual bool TryGetAssetIDFromClassName
(
const FMetasoundFrontendClassName& InClassName, |
MetasoundAssetSubsystem.h | ||
virtual FMetasoundAssetBase * TryLoadAsset
(
const FSoftObjectPath& InObjectPath |
MetasoundAssetSubsystem.h | ||
virtual FMetasoundAssetBase * TryLoadAssetFromKey
(
const FMetaSoundAssetKey& InKey |
MetasoundAssetSubsystem.h | ||
virtual bool TryLoadReferencedAssets
(
const FMetasoundAssetBase& InAssetBase, |
MetasoundAssetSubsystem.h | ||
| MetasoundAssetSubsystem.h | |||
virtual void WaitUntilAsyncLoadReferencedAssetsComplete
(
const FMetasoundAssetBase& InAssetBase |
MetasoundAssetSubsystem.h |
Overridden from FGCObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void AddReferencedObjects
(
FReferenceCollector& Collector |
FGCObject | MetasoundAssetSubsystem.h | |
virtual FString GetReferencerName() |
MetasoundAssetSubsystem.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void DepthFirstVisit_AssetKey
(
const FMetaSoundAssetKey& InKey, |
MetasoundAssetSubsystem.h | ||
static FMetaSoundAssetManager * Get() |
MetasoundAssetSubsystem.h | ||
static FMetaSoundAssetManager & GetChecked() |
MetasoundAssetSubsystem.h | ||
static void OnPackageLoaded
(
const FPackageLoadedArgs& PackageLoadedArgs |
MetasoundAssetSubsystem.h |