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 MetasoundEditor. It also enables the creation of a UObject directly from a FMetasoundFrontendDocument.
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| 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. | |
| void | RegisterUClass
(
TUniquePtr< IMetasoundUObjectRegistryEntry >&& InEntry |
Adds an entry to the registry. |
Deprecated Functions
| Type | Name | Description | |
|---|---|---|---|
| TArray< const IMetasoundUObjectRegistryEntry * > | FindInterfaceEntriesByName
(
FName InName |
Interfaces are no longer registered with the UObject registry as interfaces now support multiple UClasses that are registered with the interface registry. | |
| TArray< UClass * > | FindSupportedInterfaceClasses
(
const FMetasoundFrontendVersion& InInterfaceVersion |
Interfaces are no longer registered with the UObject registry as interfaces now support multiple UClasses that are registered with the interface registry. | |
| UObject * | NewObject
(
UClass* InClass, |
UObject registry form of NewObject is no longer used. Use UMetaSoundBuilderSubsystem to author MetaSounds instead. | |
| void | RegisterUClassInterface
(
TUniquePtr< IMetasoundUObjectRegistryEntry >&& InEntry |
Interfaces are no longer registered with the UObject registry as interfaces now support multiple UClasses that are registered with the interface registry. |