Files
2025-05-18 13:04:45 +08:00

42 lines
692 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 "Math/Vector4.h"
#include "Math/MathFwd.h"
namespace mu
{
/** This node outputs a predefined colour value.
*/
class MUTABLETOOLS_API NodeColourConstant : public NodeColour
{
public:
FVector4f Value;
public:
// Node interface
virtual const FNodeType* GetType() const { return &StaticType; }
static const FNodeType* GetStaticType() { return &StaticType; }
protected:
/** Forbidden. Manage with the Ptr<> template. */
~NodeColourConstant() {}
private:
static FNodeType StaticType;
};
}