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

60 lines
1.7 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MuT/NodeRangeFromScalar.h"
#include "Misc/AssertionMacros.h"
#include "MuR/RefCounted.h"
#include "MuT/NodePrivate.h"
#include "MuT/NodeRangeFromScalarPrivate.h"
#include "MuT/NodeScalar.h"
namespace mu
{
//---------------------------------------------------------------------------------------------
// Static initialisation
//---------------------------------------------------------------------------------------------
FNodeType NodeRangeFromScalar::Private::s_type = FNodeType(Node::EType::RangeFromScalar, NodeRange::GetStaticType() );
//---------------------------------------------------------------------------------------------
//!
//---------------------------------------------------------------------------------------------
MUTABLE_IMPLEMENT_NODE( NodeRangeFromScalar )
//---------------------------------------------------------------------------------------------
// Own Interface
//---------------------------------------------------------------------------------------------
Ptr<NodeScalar> NodeRangeFromScalar::GetSize() const
{
return m_pD->m_pSize.get();
}
//---------------------------------------------------------------------------------------------
void NodeRangeFromScalar::SetSize( const Ptr<NodeScalar>& pNode )
{
m_pD->m_pSize = pNode;
}
//---------------------------------------------------------------------------------------------
const FString& NodeRangeFromScalar::GetName() const
{
return m_pD->m_name;
}
//---------------------------------------------------------------------------------------------
void NodeRangeFromScalar::SetName( const FString& strName )
{
m_pD->m_name = strName;
}
}