Navigation
API > API/Plugins > API/Plugins/MetasoundFrontend
Description
Registers an array of a data type with the MetaSound Frontend. This allows an array of the data type to be used in Input, Output, Send and Receive nodes by informing the Frontend how to instantiate an instance.
| Name | Metasound::Frontend::MetasoundDataTypeRegistrationPrivate::RegisterDataTypeArrayWithFrontend |
| Type | function |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundDataTypeRegistrationMacro.h |
| Include Path | #include "MetasoundDataTypeRegistrationMacro.h" |
namespace Metasound
{
namespace Frontend
{
namespace MetasoundDataTypeRegistrationPrivate
{
template<typename TDataType, ELiteralType PreferredArgType>
bool Metasound::Frontend::MetasoundDataTypeRegistrationPrivate::RegisterDataTypeArrayWithFrontend()
}
}
}
True on success, false on failure.
Parameters
| Name | Remarks |
|---|---|
| TDataType | The data type to register. |
| PreferredArgType | The preferred constructor argument type to use when creating an instance of the data type. |
| UClassToUse | The preferred UObject class to use when constructing from an Audio::IProxyDataPtr. If the type is not constructible with an Audio::IProxyDataPtr, then this should be void. |