Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
A base factory type for creating objects related to Metasound DataTypes.
TDataFactory provides a unified interface for constructing objects using a FOperatorSettings and a parameter pack of arguments. The various factory methods determine how strictly the DataType constructors must match the arguments to the factory method.
| Name | TDataFactory |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundGraphCore/Public/MetasoundDataFactory.h |
| Include Path | #include "MetasoundDataFactory.h" |
Syntax
template<typename DataType, typename CreatorType>
struct TDataFactory
Derived Classes
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FInternalFactory | DataFactoryPrivate::TDataFactoryInternal< DataType, CreatorType > | MetasoundDataFactory.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static auto CreateAny
(
const FOperatorSettings& InSettings, |
Create the object using any supported constructor. | MetasoundDataFactory.h | |
static auto CreateExplicit
(
const FOperatorSettings& InSettings, |
Create the object using only a constructor which exactly matches the arguments to this factory method. | MetasoundDataFactory.h | |
static auto CreateExplicitArgs
(
const FOperatorSettings& InSettings, |
Create the object using only constructors which utilize all arguments in the parameter pack (ArgTypes...). | MetasoundDataFactory.h |