Files
UnrealEngineUWP/Engine/Plugins/Mutable/Source/MutableTools/Private/MuT/NodeMeshGeometryOperation.cpp
alexei lebedev 2815323fbc [mutable] Moved the Mutable plugin out of Experimental status into Beta.
#jira UE-223488
#rb jordi.rovira
#tests Editor
#rnx

#virtualized

[CL 36035608 by alexei lebedev in ue5-main branch]
2024-09-05 07:16:19 -04:00

91 lines
2.6 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MuT/NodeMeshGeometryOperation.h"
#include "Misc/AssertionMacros.h"
#include "MuT/NodeLayout.h"
#include "MuT/NodeMeshGeometryOperationPrivate.h"
#include "MuT/NodeMeshPrivate.h"
#include "MuT/NodePrivate.h"
#include "MuT/NodeScalar.h"
namespace mu
{
//---------------------------------------------------------------------------------------------
// Static initialisation
//---------------------------------------------------------------------------------------------
FNodeType NodeMeshGeometryOperation::Private::s_type = FNodeType(Node::EType::MeshGeometryOperation, NodeMesh::GetStaticType() );
//---------------------------------------------------------------------------------------------
//!
//---------------------------------------------------------------------------------------------
MUTABLE_IMPLEMENT_NODE( NodeMeshGeometryOperation )
//---------------------------------------------------------------------------------------------
// Own Interface
//---------------------------------------------------------------------------------------------
const NodeScalarPtr& NodeMeshGeometryOperation::GetScalarA() const
{
return m_pD->m_pScalarA;
}
//---------------------------------------------------------------------------------------------
void NodeMeshGeometryOperation::SetScalarA(const NodeScalarPtr& pNode)
{
m_pD->m_pScalarA = pNode;
}
//---------------------------------------------------------------------------------------------
const NodeScalarPtr& NodeMeshGeometryOperation::GetScalarB() const
{
return m_pD->m_pScalarB;
}
//---------------------------------------------------------------------------------------------
void NodeMeshGeometryOperation::SetScalarB(const NodeScalarPtr& pNode)
{
m_pD->m_pScalarB = pNode;
}
//---------------------------------------------------------------------------------------------
const NodeMeshPtr& NodeMeshGeometryOperation::GetMeshA() const
{
return m_pD->m_pMeshA;
}
//---------------------------------------------------------------------------------------------
void NodeMeshGeometryOperation::SetMeshA(const NodeMeshPtr& pNode)
{
m_pD->m_pMeshA = pNode;
}
//---------------------------------------------------------------------------------------------
const NodeMeshPtr& NodeMeshGeometryOperation::GetMeshB() const
{
return m_pD->m_pMeshB;
}
//---------------------------------------------------------------------------------------------
void NodeMeshGeometryOperation::SetMeshB(const NodeMeshPtr& pNode)
{
m_pD->m_pMeshB = pNode;
}
}