Files
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

72 lines
2.1 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MuT/NodeMeshMakeMorph.h"
#include "Misc/AssertionMacros.h"
#include "MuT/NodeLayout.h"
#include "MuT/NodeMeshMakeMorphPrivate.h"
#include "MuT/NodeMeshPrivate.h"
#include "MuT/NodePrivate.h"
namespace mu
{
//---------------------------------------------------------------------------------------------
// Static initialisation
//---------------------------------------------------------------------------------------------
FNodeType NodeMeshMakeMorph::Private::s_type = FNodeType(Node::EType::MeshMakeMorph, NodeMesh::GetStaticType() );
//---------------------------------------------------------------------------------------------
//!
//---------------------------------------------------------------------------------------------
MUTABLE_IMPLEMENT_NODE( NodeMeshMakeMorph )
//---------------------------------------------------------------------------------------------
// Own Interface
//---------------------------------------------------------------------------------------------
NodeMeshPtr NodeMeshMakeMorph::GetBase() const
{
return m_pD->m_pBase;
}
//---------------------------------------------------------------------------------------------
void NodeMeshMakeMorph::SetBase( NodeMesh* p )
{
m_pD->m_pBase = p;
}
//---------------------------------------------------------------------------------------------
NodeMeshPtr NodeMeshMakeMorph::GetTarget() const
{
return m_pD->m_pTarget;
}
//---------------------------------------------------------------------------------------------
void NodeMeshMakeMorph::SetTarget( NodeMesh* p )
{
m_pD->m_pTarget = p;
}
//---------------------------------------------------------------------------------------------
void NodeMeshMakeMorph::SetOnlyPositionAndNormal(bool bInOnlyPositionAndNormals)
{
m_pD->bOnlyPositionAndNormal = bInOnlyPositionAndNormals;
}
//---------------------------------------------------------------------------------------------
bool NodeMeshMakeMorph::GetOnlyPositionAndNormal() const
{
return m_pD->bOnlyPositionAndNormal;
}
}