Files
UnrealEngine/Engine/Plugins/Mutable/Source/MutableTools/Public/MuT/NodeScalar.h
2025-05-18 13:04:45 +08:00

31 lines
535 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MuT/Node.h"
namespace mu
{
/** Base class of any node that outputs a scalar value. */
class MUTABLETOOLS_API NodeScalar : public Node
{
public:
// Node Interface
virtual const FNodeType* GetType() const override { return &StaticType; }
static const FNodeType* GetStaticType() { return &StaticType; }
protected:
/** Forbidden. Manage with the Ptr<> template. */
inline ~NodeScalar() {}
private:
static FNodeType StaticType;
};
}