Navigation
API > API/Plugins > API/Plugins/MetasoundEngine
IMetasoundUObjectRegistry contains IMetasoundUObjectRegistryEntries.
Registered UObject classes can utilize the Metasound Editor. It also enables the creation of a UObject directly from a FMetasoundFrontendDocument.
| Name | IMetasoundUObjectRegistry |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundUObjectRegistry.h |
| Include Path | #include "MetasoundUObjectRegistry.h" |
Syntax
class IMetasoundUObjectRegistry
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IMetasoundUObjectRegistry() |
MetasoundUObjectRegistry.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TArray< const IMetasoundUObjectRegistryEntry * > FindInterfaceEntriesByName
(
FName InName |
MetasoundUObjectRegistry.h | ||
virtual TArray< UClass * > FindSupportedInterfaceClasses
(
const FMetasoundFrontendVersion& InInterfaceVersion |
MetasoundUObjectRegistry.h | ||
FMetasoundAssetBase * GetObjectAsAssetBase
(
UObject* InObject |
Returns casts the UObject to a FMetasoundAssetBase if the UObject is of a registered type. | MetasoundUObjectRegistry.h | |
const FMetasoundAssetBase * GetObjectAsAssetBase
(
const UObject* InObject |
Returns casts the UObject to a FMetasoundAssetBase if the UObject is of a registered type. | MetasoundUObjectRegistry.h | |
bool IsRegisteredClass
(
UObject* InObject |
Returns true if the InObject is of a class or child class which is registered. | MetasoundUObjectRegistry.h | |
bool IsRegisteredClass
(
const UClass& InClass |
Returns true if the InClass matches a class or child class which is registered. | MetasoundUObjectRegistry.h | |
void IterateRegisteredUClasses
(
TFunctionRef< void(UClass&)> InFunc, |
Iterate all registered UClasses that serve as MetaSound assets. | MetasoundUObjectRegistry.h | |
virtual UObject * NewObject
(
UClass* InClass, |
Creates a new object from a MetaSound document. | MetasoundUObjectRegistry.h | |
void RegisterUClass
(
TUniquePtr< IMetasoundUObjectRegistryEntry >&& InEntry |
Adds an entry to the registry. | MetasoundUObjectRegistry.h | |
virtual void RegisterUClassInterface
(
TUniquePtr< IMetasoundUObjectRegistryEntry >&& InEntry |
MetasoundUObjectRegistry.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IMetasoundUObjectRegistry & Get() |
Return static singleton instance of the registry. | MetasoundUObjectRegistry.h |