Files
phil popp 274f01210e Remove transmittable input nodes and move updating parameters to the metasound generator
#jira UE-179992
#rb Rob.Gay
#preflight 642d9f944847065878db1c64

[CL 24937473 by phil popp in ue5-main branch]
2023-04-05 17:38:47 -04:00

51 lines
1.5 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MetasoundLiteral.h"
#include "MetasoundVertex.h"
namespace Metasound
{
// Base implementation for NodeConstructorCallbacks
struct FDefaultNamedVertexNodeConstructorParams
{
// the instance name and name of the specific connection that should be used.
FVertexName NodeName;
FGuid InstanceID;
FVertexName VertexName;
};
struct FDefaultNamedVertexWithLiteralNodeConstructorParams
{
// the instance name and name of the specific connection that should be used.
FVertexName NodeName;
FGuid InstanceID;
FVertexName VertexName;
FLiteral InitParam = FLiteral::CreateInvalid();
};
struct FDefaultLiteralNodeConstructorParams
{
FVertexName NodeName;
FGuid InstanceID;
FLiteral Literal = FLiteral::CreateInvalid();
};
struct FInputNodeConstructorParams
{
// the instance name and name of the specific connection that should be used.
FVertexName NodeName;
FGuid InstanceID;
FVertexName VertexName;
FLiteral InitParam = FLiteral::CreateInvalid();
UE_DEPRECATED(5.3, "Transmission is no longer enabled on input nodes. In order set values on a MetaSound input, access them through the bound FInputVertexInterfaceData.")
bool bEnableTransmission = false;
};
using FOutputNodeConstructorParams = FDefaultNamedVertexNodeConstructorParams;
using FLiteralNodeConstructorParams = FDefaultLiteralNodeConstructorParams;
using FVariableNodeConstructorParams = FDefaultLiteralNodeConstructorParams;
} // namespace Metasound