Files
2026-01-19 09:50:54 +09:00

30 lines
692 B
C#

namespace Nanomesh
{
public struct AttributeDefinition
{
public double weight;
public AttributeType type;
public int id;
public AttributeDefinition(AttributeType type)
{
this.weight = 1;
this.type = type;
this.id = 0;
}
public AttributeDefinition(AttributeType type, double weight)
{
this.weight = weight;
this.type = type;
this.id = 0;
}
public AttributeDefinition(AttributeType type, double weight, int id)
{
this.weight = weight;
this.type = type;
this.id = id;
}
}
}