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

42 lines
681 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "MuR/Ptr.h"
#include "MuT/NodeRange.h"
#include "MuT/NodeScalar.h"
#include "Containers/UnrealString.h"
namespace mu
{
// Forward definitions
class NodeScalar;
class MUTABLETOOLS_API NodeRangeFromScalar : public NodeRange
{
public:
Ptr<NodeScalar> Size;
FString Name;
public:
// Node Interface
virtual const FNodeType* GetType() const override { return &StaticType; }
static const FNodeType* GetStaticType() { return &StaticType; }
protected:
/** Forbidden. Manage with the Ptr<> template. */
~NodeRangeFromScalar() {}
private:
static FNodeType StaticType;
};
}