Navigation
API > API/Plugins > API/Plugins/MetasoundEngine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMetaSoundPatch
References
| Module | MetasoundEngine |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/Metasound.h |
| Include | #include "Metasound.h" |
Syntax
UCLASS&40;HideCategories&61;object, BlueprintType&41;
class UMetaSoundPatch :
public UObject,
public FMetasoundAssetBase,
public IMetaSoundDocumentInterface
Remarks
This asset type is used for Metasound assets that can only be used as nodes in other Metasound graphs. Because of this, they contain no required inputs or outputs.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGuid | AssetClassID | ||
| bool | bIsPreset | ||
| TObjectPtr< UMetasoundEditorGraphBase > | Graph | ||
| TSet< FSoftObjectPath > | ReferenceAssetClassCache | ||
| TSet< FString > | ReferencedAssetClassKeys | ||
| TSet< TObjectPtr< UObject > > | ReferencedAssetClassObjects | ||
| FString | RegistryInputTypes | ||
| FString | RegistryOutputTypes | ||
| int32 | RegistryVersionMajor | ||
| int32 | RegistryVersionMinor | ||
| FMetasoundFrontendDocument | RootMetaSoundDocument |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMetaSoundPatch
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FName | Returns document name (for editor purposes, and avoids making document public for edit while allowing editor to reference directly) |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
Called before destroying the object. | |
| void | PostDuplicate
(
EDuplicateMode::Type DuplicateMode |
||
| void | PostEditUndo () |
Called after applying a transaction to the object. | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PreSave
(
FObjectPreSaveContext SaveContext |
Presave function. | |
| void | Handles reading, writing, and reference collecting using FArchive. |
Overridden from FMetasoundAssetBase
| Type | Name | Description | |
|---|---|---|---|
| bool | Called when the interface is changed, presenting the opportunity for. | ||
| Metasound::Frontend::FNodeClassInfo | Returns Asset Metadata associated with this MetaSound. | ||
| const TSet< FSoftObjectPath > & | Return all dependent asset paths to load asynchronously. | ||
| FText | Name to display in editors. | ||
| Metasound::Frontend::FDocumentAccessPtr | Returns an access pointer to the document. | ||
| Metasound::Frontend::FConstDocumentAccessPtr | Returns an access pointer to the document. | ||
| const UEdGraph * | GetGraph () |
||
| UEdGraph * | GetGraph () |
Returns the graph associated with this Metasound. | |
| const UEdGraph & | |||
| UEdGraph & | |||
| const UObject * | Returns the owning asset responsible for transactions applied to MetaSound. | ||
| UObject * | Returns the owning asset responsible for transactions applied to MetaSound. | ||
| 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. | ||
| void | OnAsyncReferencedAssetsLoaded
(
const TArray< FMetasoundAssetBase* >& InAsyncReferences |
Called when async assets have finished loading. | |
| void | Sets the graph associated with this Metasound. | ||
| void | SetReferencedAssetClasses
(
TSet< Metasound::Frontend::IMetaSoundAssetManager::FAssetInfo >&& InAssetClasses |
||
| void | SetRegistryAssetClassInfo
(
const Metasound::Frontend::FNodeClassInfo& InClassInfo |
Sets Asset Registry Metadata associated with this MetaSound. |
Overridden from IMetaSoundDocumentInterface
| Type | Name | Description | |
|---|---|---|---|
| const UClass & | Returns the parent class registered with the MetaSound UObject registry. | ||
| const FMetasoundFrontendDocument & | GetDocument () |
Returns read-only reference to the the MetaSoundFrontendDocument containing all MetaSound runtime & editor data. |