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

45 lines
775 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MuR/Ptr.h"
#include "MuR/RefCounted.h"
#include "MuT/Node.h"
#include "MuT/NodeColour.h"
#include "MuT/NodeScalar.h"
#include "MuT/NodeImage.h"
namespace mu
{
/** Obtain a colour by sampling an image at specific homogeneous coordinates.
*/
class MUTABLETOOLS_API NodeColourSampleImage : public NodeColour
{
public:
Ptr<NodeImage> Image;
Ptr<NodeScalar> X;
Ptr<NodeScalar> Y;
public:
// Node interface
virtual const FNodeType* GetType() const { return &StaticType; }
static const FNodeType* GetStaticType() { return &StaticType; }
protected:
//! Forbidden. Manage with the Ptr<> template.
~NodeColourSampleImage() {}
private:
static FNodeType StaticType;
};
}