Navigation
API > API/Plugins > API/Plugins/MetasoundGraphCore
A base factory type for creating objects related to Metasound DataTypes.
TDataLiteralFactory provides a unified interface for constructing objects using a FOperatorSettings and FLiteral. The various factory methods determine how strictly the DataType constructors must match the arguments to the factory method.
| Name | TDataLiteralFactory |
| 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 TDataLiteralFactory
Derived Classes
- TDataReadReferenceLiteralFactory
- TDataTypeLiteralFactory
- TDataValueReferenceLiteralFactory
- TDataWriteReferenceLiteralFactory
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FInternalFactory | DataFactoryPrivate::TDataVariantFactoryInternal< 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 CreateExplicitArgs
(
const FOperatorSettings& InSettings, |
Create the object using only constructors which utilize the InVariant. | MetasoundDataFactory.h | |
static auto CreateExplicitArgs
(
const FOperatorSettings& InSettings, |
Create the object using only constructors which utilize the InLiteral. | MetasoundDataFactory.h |