Files
UnrealEngine/Engine/Plugins/Mutable/Source/MutableTools/Private/MuT/NodeImageConstant.cpp
2025-05-18 13:04:45 +08:00

26 lines
419 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "MuT/NodeImageConstant.h"
#include "Misc/AssertionMacros.h"
#include "MuR/Image.h"
#include "MuR/Serialisation.h"
namespace mu
{
void NodeImageConstant::SetValue(TSharedPtr<const FImage> Value)
{
Proxy = new TResourceProxyMemory<FImage>(Value);
}
void NodeImageConstant::SetValue(Ptr<TResourceProxy<FImage>> InProxy)
{
Proxy = InProxy;
}
}