Navigation
API > API/Plugins > API/Plugins/MetasoundEngine > API/Plugins/MetasoundEngine/IMetasoundUObjectRegistry
Deprecated * UObject registry form of NewObject is no longer used. Use UMetaSoundBuilderSubsystem to author MetaSounds instead.
References
| Module | MetasoundEngine |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundUObjectRegistry.h |
| Include | #include "MetasoundUObjectRegistry.h" |
virtual UObject &42; NewObject
&40;
UClass &42; InClass,
const FMetasoundFrontendDocument & InDocument,
const FString & InPath
&41; 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. |