Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend
Inheritance Hierarchy
- FMetasoundAssetBase
- UMetaSoundPatch
- UMetaSoundSource
References
| Module | MetasoundFrontend |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundAssetBase.h |
| Include | #include "MetasoundAssetBase.h" |
Syntax
class FMetasoundAssetBase
Remarks
FMetasoundAssetBase is intended to be a mix-in subclass for UObjects which utilize Metasound assets. It provides consistent access to FMetasoundFrontendDocuments, control over the FMetasoundFrontendClassInterface of the FMetasoundFrontendDocument. It also enables the UObject to be utilized by a host of other engine tools built to support MetaSounds.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddingReferenceCausesLoop
(
const FSoftObjectPath& InReferencePath |
||
| bool | AutoUpdate
(
bool bInLogWarningsOnDroppedConnection |
||
| void | Caches transient metadata (class & vertex) found in the registry that is not necessary for serialization or core graph generation. | ||
| bool | Called when the interface is changed, presenting the opportunity for. | ||
| Metasound::Frontend::FNodeClassInfo | Gets the asset class info. | ||
| const TSet< FSoftObjectPath > & | Return all dependent asset paths to load asynchronously. | ||
| FText | GetDisplayName
(
FString&& InTypeName |
||
| FText | |||
| Metasound::Frontend::FDocumentAccessPtr | Returns an access pointer to the document. | ||
| const FMetasoundFrontendDocument & | |||
| FMetasoundFrontendDocument & | |||
| Metasound::Frontend::FConstDocumentAccessPtr | Returns an access pointer to the document. | ||
| Metasound::Frontend::FDocumentHandle | Returns handle for the root metasound graph of this asset. | ||
| Metasound::Frontend::FConstDocumentHandle | Returns handle for the root metasound graph of this asset. | ||
| UEdGraph * | GetGraph () |
Returns the graph associated with this Metasound. | |
| const UEdGraph * | GetGraph () |
||
| const UEdGraph & | |||
| UEdGraph & | |||
| const FMetasoundFrontendDocumentModifyContext & | |||
| FMetasoundFrontendDocumentModifyContext & | |||
| UObject * | Returns the owning asset responsible for transactions applied to MetaSound. | ||
| const UObject * | Returns the owning asset responsible for transactions applied to MetaSound. | ||
| FString | |||
| TArray< FMetasoundFrontendClassInput > | Returns all public class inputs. | ||
| const TSet< FString > & | Returns all the class keys of this asset's referenced assets. | ||
| TArray< FMetasoundAssetBase * > | Returns set of class references set call to serialize in the editor Used at runtime load register referenced classes. | ||
| const Metasound::Frontend::FNodeRegistryKey & | |||
| Metasound::Frontend::FConstGraphHandle | Returns handle for the root metasound graph of this asset. | ||
| Metasound::Frontend::FGraphHandle | Returns handle for the root metasound graph of this asset. | ||
| const FRuntimeData & | Returns the cached runtime data. | ||
| bool | ImportFromJSON
(
const FString& InJSON |
Imports data from a JSON string directly. | |
| bool | ImportFromJSONAsset
(
const FString& InAbsolutePath |
Imports the asset from a JSON file at provided path. | |
| bool | IsInterfaceDeclared
(
const FMetasoundFrontendVersion& InVersion |
Returns whether an interface with the given version is declared by the given asset's document. | |
| bool | IsReferencedAsset
(
const FMetasoundAssetBase& InAssetToCheck |
||
| bool | IsRegistered () |
||
| bool | Calls the outermost package and marks it dirty. | ||
| void | OnAsyncReferencedAssetsLoaded
(
const TArray< FMetasoundAssetBase* >& InAsyncReferences |
Called when async assets have finished loading. | |
| TSharedPtr< FMetasoundFrontendDocument > | |||
| void | Rebuild dependent asset classes. | ||
| void | RegisterAssetDependencies
(
const Metasound::Frontend::FMetaSoundAssetRegistrationOptions& InRegistrationOptions |
||
| void | RegisterGraphWithFrontend
(
Metasound::Frontend::FMetaSoundAssetRegistrationOptions InRegistrationOptions |
Registers the root graph of the given asset with the MetaSound Frontend. | |
| void | SetDocument
(
const FMetasoundFrontendDocument& InDocument |
Overwrites the existing document. | |
| void | SetDocument
(
FMetasoundFrontendDocument&& InDocument |
Overwrites the existing document. | |
| void | Sets the graph associated with this Metasound. | ||
| void | SetReferencedAssetClasses
(
TSet< Metasound::Frontend::IMetaSoundAssetManager::FAssetInfo >&& InAssetClasses |
||
| void | SetRegistryAssetClassInfo
(
const Metasound::Frontend::FNodeClassInfo& InClassInfo |
Only required for editor builds. | |
| void | Unregisters the root graph of the given asset with the MetaSound Frontend. | ||
| bool | VersionAsset () |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FRuntimeData | Container for runtime data of MetaSound graph. | ||
| FSendInfoAndVertexName |
Constants
| Name | Description |
|---|---|
| FileExtension |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddDefaultInterfaces is included in now applied via FMetaSoundFrontendDocumentBuilder::InitDocument and no longer directly supported via this function. | ||
| void | ConvertFromPreset moved to FMetaSoundFrontendDocumentBuilder. | ||
| bool | GetDeclaredInterfaces
(
TArray< const Metasound::Frontend::IInterfaceRegistryEntry* >& OutInterfaces |
Use static FMetaSoundFrontendDocumentBuilder 'FindDeclaredInterfaces instead. | |
| TArray< FSendInfoAndVertexName > | GetSendInfos
(
uint64 InInstanceID |
MetaSounds no longer communicate using FSendInfo. | |
| void | SetMetadata
(
FMetasoundFrontendClassMetadata& InMetadata |
Directly setting graph class Metadata is no longer be supported. Use the FMetaSoundFrontendDocumentBuilder to modify class data. |