Files
BlenderSharp/BlendFile/DNA/Palette.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

34 lines
1.1 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")]
public struct Palette {
[DNAFieldAttribute(0, "ID", "id", 208)]
public ID id;
[DNAFieldAttribute(1, "ListBase", "colors", 16)]
public ListBase colors;
[DNAFieldAttribute(2, "int", "active_color", 4)]
public int active_color;
[DNAFieldAttribute(3, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4];
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;
}
}
}