Files
UnrealEngineUWP/Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Public/MetasoundNodeConstructorParams.h
rob gay 84771db13f Remove input receive node injection by implementing receive implementation within non-ctor input node operator
#rb phil.popp
[REVIEW] phil.popp
#rnx
#jira UE-166569
#preflight 63445c0f360ee7edea15afdb

[CL 22437484 by rob gay in ue5-main branch]
2022-10-10 15:44:28 -04:00

48 lines
1.3 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();
bool bEnableTransmission = false;
};
using FOutputNodeConstructorParams = FDefaultNamedVertexNodeConstructorParams;
using FLiteralNodeConstructorParams = FDefaultLiteralNodeConstructorParams;
using FVariableNodeConstructorParams = FDefaultLiteralNodeConstructorParams;
} // namespace Metasound