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

50 lines
925 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/NodeMesh.h"
#include "MuT/NodeLayout.h"
#include "MuT/NodeImage.h"
#include "MuT/Table.h"
namespace mu
{
//! This node provides the meshes stored in the column of a table.
class MUTABLETOOLS_API NodeMeshTable : public NodeMesh
{
public:
FString ParameterName;
Ptr<FTable> Table;
FString ColumnName;
bool bNoneOption = false;
FString DefaultRowName;
TArray<Ptr<NodeLayout>> Layouts;
/** */
FSourceDataDescriptor SourceDataDescriptor;
public:
// Node interface
virtual const FNodeType* GetType() const override { return GetStaticType(); }
static const FNodeType* GetStaticType() { return &StaticType; }
protected:
/** Forbidden. Manage with the Ptr<> template. */
~NodeMeshTable() {}
private:
static FNodeType StaticType;
};
}