// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "MuT/Node.h" #include "MuT/NodeImage.h" #include "MuT/NodeScalar.h" #include "MuR/ImageTypes.h" #include "MuR/Ptr.h" namespace mu { /** */ class MUTABLETOOLS_API NodeImageTransform : public NodeImage { public: Ptr Base; Ptr OffsetX; Ptr OffsetY; Ptr ScaleX; Ptr ScaleY; Ptr Rotation; EAddressMode AddressMode = EAddressMode::Wrap; uint32 SizeX = 0; uint32 SizeY = 0; bool bKeepAspectRatio = false; public: // Node Interface virtual const FNodeType* GetType() const override { return &StaticType; } static const FNodeType* GetStaticType() { return &StaticType; } protected: /** Forbidden. Manage with the Ptr<> template. */ ~NodeImageTransform() {} private: static FNodeType StaticType; }; }