2022-10-10 15:44:28 -04:00
// 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 ( ) ;
2023-04-05 17:38:47 -04:00
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. " )
2022-10-10 15:44:28 -04:00
bool bEnableTransmission = false ;
} ;
using FOutputNodeConstructorParams = FDefaultNamedVertexNodeConstructorParams ;
using FLiteralNodeConstructorParams = FDefaultLiteralNodeConstructorParams ;
using FVariableNodeConstructorParams = FDefaultLiteralNodeConstructorParams ;
2023-04-05 17:38:47 -04:00
} // namespace Metasound