You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
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]
51 lines
1.2 KiB
C++
51 lines
1.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#include "MetasoundInputNode.h"
|
|
|
|
#include "MetasoundDataReference.h"
|
|
#include "MetasoundVertex.h"
|
|
#include "MetasoundVertexData.h"
|
|
#include "UObject/NameTypes.h"
|
|
|
|
namespace Metasound
|
|
{
|
|
namespace MetasoundInputNodePrivate
|
|
{
|
|
FDataReferenceCollection FInputOperatorBase::GetInputs() const
|
|
{
|
|
// This is slated to be deprecated and removed.
|
|
checkNoEntry();
|
|
return {};
|
|
}
|
|
|
|
FDataReferenceCollection FInputOperatorBase::GetOutputs() const
|
|
{
|
|
// This is slated to be deprecated and removed.
|
|
checkNoEntry();
|
|
return {};
|
|
}
|
|
|
|
FNonExecutableInputOperatorBase::FNonExecutableInputOperatorBase(const FVertexName& InVertexName, FAnyDataReference&& InDataRef)
|
|
: VertexName(InVertexName)
|
|
, DataRef(MoveTemp(InDataRef))
|
|
{
|
|
}
|
|
|
|
void FNonExecutableInputOperatorBase::Bind(FVertexInterfaceData& InVertexData) const
|
|
{
|
|
InVertexData.GetInputs().BindVertex(VertexName, DataRef);
|
|
InVertexData.GetOutputs().BindVertex(VertexName, DataRef);
|
|
}
|
|
|
|
IOperator::FExecuteFunction FNonExecutableInputOperatorBase::GetExecuteFunction()
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
IOperator::FResetFunction FNonExecutableInputPassThroughOperator::GetResetFunction()
|
|
{
|
|
return nullptr;
|
|
}
|
|
}
|
|
}
|