2021-07-28 17:09:54 -04:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
|
|
#include "MetasoundReceiveNode.h"
|
|
|
|
|
|
|
|
|
|
namespace Metasound
|
|
|
|
|
{
|
|
|
|
|
namespace ReceiveNodeInfo
|
|
|
|
|
{
|
2021-09-13 14:13:39 -04:00
|
|
|
const FVertexName& GetAddressInputName()
|
2021-07-28 17:09:54 -04:00
|
|
|
{
|
2021-09-13 14:13:39 -04:00
|
|
|
static const FVertexName InputName(TEXT("Address"));
|
2021-07-28 17:09:54 -04:00
|
|
|
return InputName;
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-13 14:13:39 -04:00
|
|
|
const FVertexName& GetDefaultDataInputName()
|
2021-07-28 17:09:54 -04:00
|
|
|
{
|
2021-09-13 14:13:39 -04:00
|
|
|
static const FVertexName DefaultDataName(TEXT("Default"));
|
2021-07-28 17:09:54 -04:00
|
|
|
return DefaultDataName;
|
|
|
|
|
}
|
|
|
|
|
|
2021-09-13 14:13:39 -04:00
|
|
|
const FVertexName& GetOutputName()
|
2021-07-28 17:09:54 -04:00
|
|
|
{
|
2021-09-13 14:13:39 -04:00
|
|
|
static const FVertexName OutputName(TEXT("Out"));
|
2021-07-28 17:09:54 -04:00
|
|
|
return OutputName;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
FNodeClassName GetClassNameForDataType(const FName& InDataTypeName)
|
|
|
|
|
{
|
2021-09-13 14:13:39 -04:00
|
|
|
return FNodeClassName { "Receive", InDataTypeName, FName() };
|
2021-07-28 17:09:54 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
int32 GetCurrentMajorVersion() { return 1; }
|
|
|
|
|
|
|
|
|
|
int32 GetCurrentMinorVersion() { return 0; }
|
|
|
|
|
}
|
|
|
|
|
}
|