Navigation
API > API/Plugins > API/Plugins/MetasoundEngine
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 Metasound Editor. It also enables the creation of a UObject directly from a FMetasoundFrontendDocument.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< const IMetasoundUObjectRegistryEntry * > | FindInterfaceEntriesByName
(
FName InName |
||
| TArray< UClass * > | FindSupportedInterfaceClasses
(
const FMetasoundFrontendVersion& InInterfaceVersion |
||
| IMetasoundUObjectRegistry & | Get () |
Return static singleton instance of the registry. | |
| FMetasoundAssetBase * | GetObjectAsAssetBase
(
UObject* InObject |
Returns casts the UObject to a FMetasoundAssetBase if the UObject is of a registered type. | |
| const FMetasoundAssetBase * | GetObjectAsAssetBase
(
const UObject* InObject |
Returns casts the UObject to a FMetasoundAssetBase if the UObject is of a registered type. | |
| bool | IsRegisteredClass
(
UObject* InObject |
Returns true if the InObject is of a class or child class which is registered. | |
| bool | IsRegisteredClass
(
const UClass& InClass |
Returns true if the InClass matches a class or child class which is registered. | |
| void | IterateRegisteredUClasses
(
TFunctionRef< void(UClass&)> InFunc, |
Iterate all registered UClasses that serve as MetaSound assets. | |
| UObject * | NewObject
(
UClass* InClass, |
Creates a new object from a MetaSound document. | |
| void | RegisterUClass
(
TUniquePtr< IMetasoundUObjectRegistryEntry >&& InEntry |
Adds an entry to the registry. | |
| void | RegisterUClassInterface
(
TUniquePtr< IMetasoundUObjectRegistryEntry >&& InEntry |