IMetaSoundAssetManager

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

IMetaSoundAssetManager

UMetaSoundAssetSubsystem

References

Module

MetasoundFrontend

Header

/Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundAssetManager.h

Include

#include "MetasoundAssetManager.h"

Syntax

class IMetaSoundAssetManager

Functions

Name Description

Public function

void

 

AddAssetReferences

(
    FMetasoundAssetBase& InAssetBase
)

Adds missing assets using the provided asset's local reference class cache.

Public function

void

 

AddOrUpdateAsset

(
    UObject& InObject
)

Add or Update a MetaSound Asset's entry data.

Public function Const

bool

 

CanAutoUpdate

(
    const FMetasoundFrontendClassName&...
)

Whether or not the class is eligible for auto-update.

Public function Const

bool

 

ContainsKey

(
    const Metasound::Frontend::FNodeReg...
)

Whether or not the asset manager has loaded the given asset.

Public function Const

const FSoftO...

 

FindObjectPathFromKey

(
    const Metasound::Frontend::FNodeReg...
)

Returns path associated with the given key (null if key is not registered with the AssetManager or was not loaded from asset)

Public function Static

IMetaSoundAs...

 

Get()

Public function Static

IMetaSoundAs...

 

GetChecked()

Public function Const

TSet< Metaso...

 

GetReferencedKeys

(
    const FMetasoundAssetBase& InAsset...
)

Generates all asset keys associated with registered assets that are referenced by the provided asset's graph.

Public function Virtual Const

bool

 

IsTesting()

Whether or not manager is being used to run tests or not (enabling instances to be reset without asserting.)

Public function

void

 

RescanAutoUpdateDenyList()

Rescans settings for denied assets not to run reference auto-update against.

Public function Static

void

 

Set

(
    IMetaSoundAssetManager& InInterfac...
)

Public function Const

FMetasoundAs...

 

TryLoadAsset

(
    const FSoftObjectPath& InObjectPat...
)

Attempts to load an FMetasoundAssetBase from the given path, or returns it if its already loaded.

Public function Const

FMetasoundAs...

 

TryLoadAssetFromKey

(
    const Metasound::Frontend::FNodeReg...
)

Returns asset associated with the given key (null if key is not registered with the AssetManager or was not loaded from asset)

Public function Const

bool

 

TryLoadReferencedAssets

(
    const FMetasoundAssetBase& InAsset...,
    TArray< FMetasoundAssetBase* >...
)

Try to load referenced assets of the given asset or return them if they are already loaded (non-recursive).

Constants

Name

Description

Instance