You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#jira UE-223488 #rb jordi.rovira #tests Editor #rnx #virtualized [CL 36035608 by alexei lebedev in ue5-main branch]
76 lines
2.2 KiB
C++
76 lines
2.2 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#include "MuT/NodeImageConditional.h"
|
|
|
|
#include "Misc/AssertionMacros.h"
|
|
#include "MuT/NodeBool.h"
|
|
#include "MuT/NodeImageConditionalPrivate.h"
|
|
#include "MuT/NodePrivate.h"
|
|
|
|
|
|
namespace mu
|
|
{
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
// Static initialisation
|
|
//---------------------------------------------------------------------------------------------
|
|
FNodeType NodeImageConditional::Private::s_type = FNodeType(Node::EType::ImageConditional, NodeImage::GetStaticType() );
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
//!
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
MUTABLE_IMPLEMENT_NODE( NodeImageConditional )
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
// Own Interface
|
|
//---------------------------------------------------------------------------------------------
|
|
NodeBool* NodeImageConditional::GetParameter() const
|
|
{
|
|
return m_pD->m_parameter.get();
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
void NodeImageConditional::SetParameter( NodeBool* pNode )
|
|
{
|
|
m_pD->m_parameter = pNode;
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
NodeImage* NodeImageConditional::GetOptionTrue() const
|
|
{
|
|
return m_pD->m_true.get();
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
void NodeImageConditional::SetOptionTrue( NodeImage* pNode )
|
|
{
|
|
m_pD->m_true = pNode;
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
NodeImage* NodeImageConditional::GetOptionFalse() const
|
|
{
|
|
return m_pD->m_false.get();
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
void NodeImageConditional::SetOptionFalse( NodeImage* pNode )
|
|
{
|
|
m_pD->m_false = pNode;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|