Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Plugins/Runtime/Metasound/Source/MetasoundEngine/Public/MetasoundUObjectRegistry.h |
Include |
#include "MetasoundUObjectRegistry.h" |
UObject * NewObject
(
UClass * InClass,
const FMetasoundFrontendDocument & InDocument,
const FString & InPath
) const
Creates a new object from a MetaSound document.
A new object. A nullptr on error.
Parameter |
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. |