42 lines
681 B
C++
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;
|
|
|
|
};
|
|
|
|
}
|