// 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 Image; Ptr X; Ptr 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; }; }