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]
61 lines
1.7 KiB
C++
61 lines
1.7 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
|
|
#include "MuT/NodeImageSaturate.h"
|
|
|
|
#include "Misc/AssertionMacros.h"
|
|
#include "MuT/NodeImageSaturatePrivate.h"
|
|
#include "MuT/NodePrivate.h"
|
|
#include "MuT/NodeScalar.h"
|
|
|
|
|
|
namespace mu
|
|
{
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
// Static initialisation
|
|
//---------------------------------------------------------------------------------------------
|
|
FNodeType NodeImageSaturate::Private::s_type = FNodeType(Node::EType::ImageSaturate, NodeImage::GetStaticType() );
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
//!
|
|
//---------------------------------------------------------------------------------------------
|
|
|
|
MUTABLE_IMPLEMENT_NODE( NodeImageSaturate )
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
// Own Interface
|
|
//---------------------------------------------------------------------------------------------
|
|
NodeScalarPtr NodeImageSaturate::GetFactor() const
|
|
{
|
|
return m_pD->m_pFactor.get();
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
void NodeImageSaturate::SetFactor( NodeScalarPtr pNode )
|
|
{
|
|
m_pD->m_pFactor = pNode;
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
NodeImagePtr NodeImageSaturate::GetSource() const
|
|
{
|
|
return m_pD->m_pSource.get();
|
|
}
|
|
|
|
|
|
//---------------------------------------------------------------------------------------------
|
|
void NodeImageSaturate::SetSource( NodeImagePtr pNode )
|
|
{
|
|
m_pD->m_pSource = pNode;
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|