Files
BlenderSharp/BlendFile/DNA/Palette.cs
2025-02-19 18:48:50 +01:00

40 lines
1.3 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(138, "Palette", 232)]
public struct Palette {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
public ID id;
[DNAFieldAttribute(1, "ListBase", "colors", "ListBase", 16, false)]
public ListBase colors;
[DNAFieldAttribute(2, "int", "active_color", "int", 4, false)]
public int active_color;
[DNAFieldAttribute(3, "char", "_pad[4]", "System.Char[]", 4, false)]
public char[] _pad = new System.Char[4];
public Palette() {
this.id = default;
this.colors = default;
this.active_color = default;
this._pad = default;
}
public Palette(ID id, ListBase colors, int active_color, char[] _pad) {
this.id = id;
this.colors = colors;
this.active_color = active_color;
this._pad = _pad;
}
}
}