Files
UnrealEngineUWP/Engine/Plugins/Runtime/Metasound/Source/MetasoundFrontend/Private/MetasoundOutputNode.cpp
phil popp 531210d978 Add Initialize function to metasound IOperator interface
Implement Initialize function for auto generated data type related operators.
#jira UE-174362
#rb Rob.Gay
#preflight 63f647b1977ceed9154bbf93

[CL 24371796 by phil popp in ue5-main branch]
2023-02-22 17:54:26 -05:00

45 lines
960 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MetasoundOutputNode.h"
namespace Metasound
{
namespace OutputNodePrivate
{
FOutputOperator::FOutputOperator(const FVertexName& InVertexName, const FAnyDataReference& InDataReference)
: VertexName(InVertexName)
, DataReference(InDataReference)
{
}
FDataReferenceCollection FOutputOperator::GetInputs() const
{
// Slated for deprecation
return {};
}
FDataReferenceCollection FOutputOperator::GetOutputs() const
{
// Slated for deprecation
return {};
}
void FOutputOperator::Bind(FVertexInterfaceData& InVertexData) const
{
InVertexData.GetInputs().BindVertex(VertexName, DataReference);
InVertexData.GetOutputs().BindVertex(VertexName, DataReference);
}
IOperator::FExecuteFunction FOutputOperator::GetExecuteFunction()
{
return nullptr;
}
IOperator::FResetFunction FOutputOperator::GetResetFunction()
{
return nullptr;
}
}
}