// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "MuR/Ptr.h" #include "MuR/RefCounted.h" #include "MuT/Node.h" #include "MuT/NodeScalar.h" #include "Curves/RichCurve.h" namespace mu { /** This node makes a new scalar value transforming another scalar value with a curve. */ class MUTABLETOOLS_API NodeScalarCurve : public NodeScalar { public: FRichCurve Curve; Ptr CurveSampleValue; public: // Node Interface virtual const FNodeType* GetType() const override { return &StaticType; } static const FNodeType* GetStaticType() { return &StaticType; } protected: /** Forbidden. Manage with the Ptr<> template. */ ~NodeScalarCurve() {} private: static FNodeType StaticType; }; }