Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore > API/Plugins/MetasoundGraphCore/TDataFactoryInternal > API/Plugins/MetasoundGraphCore/TDataFactoryInternal/CreateNew
References
| Module | MetasoundGraphCore |
| Header | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataFactory.h |
| Include | #include "MetasoundDataFactory.h" |
template<typename ArgForwardType, typename... ArgTypes, typename std::enable_if< ArgForwardType::bForwardSettingsAndArgs, int >::type>
static auto CreateNew
&40;
const FOperatorSettings & InSettings,
ArgTypes &&... Args
&41;
Remarks
Create a new object using FOperatorSettings and a parameter pack of arguments.
Note: In this implementation, all arguments are forwarded to CreatorType::CreateNew(...)
Parameters
| Name | Description |
|---|---|
| ArgForwardType | A type which describes which settings and arguments should be forwarded to CreateType::CreateNew(...) |
| ArgTypes | A parameter pack of types to be forwarded to CreateType::CreateNew(...) |