IMetasoundUObjectRegistry

[IMetasoundUObjectRegistry](API\Plugins\MetasoundEngine\IMetasoundUObjectRegistry) contains IMetasoundUObjectRegistryEntries.

Choose your operating system:

Windows

macOS

Linux

References

Module

MetasoundEngine

Header

/Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundUObjectRegistry.h

Include

#include "MetasoundUObjectRegistry.h"

Syntax

class IMetasoundUObjectRegistry

Remarks

IMetasoundUObjectRegistry contains IMetasoundUObjectRegistryEntries.

Registered UObject classes can utilize the MetasoundEditor. It also enables the creation of a UObject directly from a FMetasoundFrontendDocument.

Destructors

Name Description

Public function Virtual

~IMetasoundUObjectRegistry()

Functions

Name Description

Public function Const

TArray< cons...

 

FindInterfaceEntriesByName

(
    FName InName
)

Returns all RegistryEntries with the given name

Public function Const

TArray< UCla...

 

FindSupportedInterfaceClasses

(
    const FMetasoundFrontendVersion& I...
)

Returns all UClasses registered to the interface version.

Public function Static

IMetasoundUO...

 

Get()

Return static singleton instance of the registry.

Public function Const

FMetasoundAs...

 

GetObjectAsAssetBase

(
    UObject* InObject
)

Returns casts the UObject to a FMetasoundAssetBase if the UObject is of a registered type.

Public function Const

const FMetas...

 

GetObjectAsAssetBase

(
    const UObject* InObject
)

Returns casts the UObject to a FMetasoundAssetBase if the UObject is of a registered type.

Public function Const

bool

 

IsRegisteredClass

(
    UObject* InObject
)

Returns true if the InObject is of a class or child class which is registered.

Public function Const

void

 

IterateRegisteredUClasses

(
    TFunctionRef< void&)> InFun...
)

Iterate all registered UClasses that serve as MetaSound assets.

Public function Const

UObject *...

 

NewObject

(
    UClass* InClass,
    const FMetasoundFrontendDocument& ...,
    const FString& InPath
)

Creates a new object from a MetaSound document.

Public function

void

 

RegisterUClassInterface

Adds an entry to the registry.