Navigation
API > API/Plugins > API/Plugins/MetasoundEngine
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.
| Name | UMetaSoundPatch |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/Metasound.h |
| Include Path | #include "Metasound.h" |
Syntax
UCLASS (MinimalAPI, HideCategories=object, BlueprintType, Meta=(DisplayName="MetaSound Patch"))
class UMetaSoundPatch :
public UObject ,
public FMetasoundAssetBase ,
public IMetaSoundDocumentInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMetaSoundPatch
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMetaSoundPatch
(
const FObjectInitializer& ObjectInitializer |
Metasound.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AssetClassID | FGuid | Metasound.h |
|
|
| bIsPreset | bool | Metasound.h |
|
|
| RegistryInputTypes | FString | Metasound.h |
|
|
| RegistryOutputTypes | FString | Metasound.h |
|
|
| RegistryVersionMajor | int32 | Metasound.h |
|
|
| RegistryVersionMinor | int32 | Metasound.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsBuilderActive | bool | Metasound.h |
Functions
Public
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
Metasound.h | ||
virtual void GetAssetRegistryTags
(
FAssetRegistryTagsContext Context |
Metasound.h | ||
virtual EDataValidationResult IsDataValid
(
FDataValidationContext& Context |
Metasound.h | ||
virtual void PostDuplicate
(
EDuplicateMode::Type DuplicateMode |
Metasound.h | ||
virtual void PostEditUndo() |
Metasound.h | ||
virtual void PostLoad() |
Metasound.h | ||
virtual void PreDuplicate
(
FObjectDuplicationParameters& DupParams |
Metasound.h | ||
virtual void PreSave
(
FObjectPreSaveContext InSaveContext |
Metasound.h | ||
virtual void Serialize
(
FArchive& InArchive |
Metasound.h |
Overridden from FMetasoundAssetBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const TSet< FSoftObjectPath > & GetAsyncReferencedAssetClassPaths() |
Metasound.h | ||
virtual FText GetDisplayName() |
Name to display in editors. | Metasound.h | |
| Returns the graph associated with this Metasound. | Metasound.h | ||
virtual UEdGraph & GetGraphChecked() |
Metasound.h | ||
virtual const UObject * GetOwningAsset () |
Metasound.h | ||
virtual UObject * GetOwningAsset () |
Metasound.h | ||
virtual const TSet< FString > & GetReferencedAssetClassKeys() |
Metasound.h | ||
virtual TArray< FMetasoundAssetBase * > GetReferencedAssets() |
Metasound.h | ||
virtual void MigrateEditorGraph
(
FMetaSoundFrontendDocumentBuilder& OutBuilder |
Metasound.h | ||
virtual void OnAsyncReferencedAssetsLoaded
(
const TArray< FMetasoundAssetBase* >& InAsyncReferences |
Metasound.h | ||
| Sets the graph associated with this Metasound. | Metasound.h |
Overridden from IAudioProxyDataFactory
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedPtr< Audio::IProxyData > CreateProxyData
(
const Audio::FProxyDataInitParams& InitParams |
Metasound.h |
Overridden from IMetaSoundDocumentInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool ConformObjectToDocument() |
Metasound.h | ||
virtual FTopLevelAssetPath GetAssetPathChecked() |
Metasound.h | ||
virtual const UClass & GetBaseMetaSoundUClass() |
Metasound.h | ||
virtual const UClass & GetBuilderUClass() |
Metasound.h | ||
virtual const FMetasoundFrontendDocument & GetConstDocument() |
Metasound.h | ||
virtual EMetasoundFrontendClassAccessFlags GetDefaultAccessFlags() |
Metasound.h | ||
virtual bool IsActivelyBuilding() |
Metasound.h |
Protected
Overridden from FMetasoundAssetBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual is particularly problematic as in so the builder s caches are reset which can cause major editor performance regressions Metasound::Frontend::FDocumentAccessPtr GetDocumentAccessPtr() |
Metasound.h | ||
virtual Metasound::Frontend::FConstDocumentAccessPtr GetDocumentConstAccessPtr() |
Metasound.h | ||
virtual void SetReferencedAssets
(
TSet< Metasound::Frontend::IMetaSoundAssetManager::FAssetRef >&& InAssetRefs |
Metasound.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FName GetDocumentPropertyName() |
Returns document name (for editor purposes, and avoids making document public for edit while allowing editor to reference directly) | Metasound.h |