Navigation
API > API/Plugins > API/Plugins/MetasoundEngine > API/Plugins/MetasoundEngine/IMetasoundUObjectRegistry
References
| Module | MetasoundEngine |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundUObjectRegistry.h |
| Include | #include "MetasoundUObjectRegistry.h" |
virtual UObject * NewObject
(
UClass * InClass,
const FMetasoundFrontendDocument & InDocument,
const FString & InPath
) const
Remarks
Creates a new object from a MetaSound document. A new object. A nullptr on error.
Parameters
| Name | Description |
|---|---|
| InClass | A registered UClass to create. |
| InDocument | The FMetasoundFrontendDocument to use when creating the class. |
| InInterfaceVersion | The version of the FMetasoundFrontendClassInterface to use when creating the class. |
| InPath | If in editor, the created asset will be stored at this content path. |