Files
BlenderSharp/BlendFile/DNA/ColorBand.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

43 lines
1.5 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(134, "ColorBand")]
public struct ColorBand {
[DNAFieldAttribute(0, "short", "tot", 2)]
public short tot;
[DNAFieldAttribute(1, "short", "cur", 2)]
public short cur;
[DNAFieldAttribute(2, "char", "ipotype", 1)]
public char ipotype;
[DNAFieldAttribute(3, "char", "ipotype_hue", 1)]
public char ipotype_hue;
[DNAFieldAttribute(4, "char", "color_mode", 1)]
public char color_mode;
[DNAFieldAttribute(5, "char", "_pad[1]", 1)]
public char[] _pad = new System.Char[1];
[DNAFieldAttribute(6, "CBData", "data[32]", 24)]
public CBData[] data = new CBData[32];
public ColorBand(short tot, short cur, char ipotype, char ipotype_hue, char color_mode, char[] _pad, CBData[] data) {
this.tot = tot;
this.cur = cur;
this.ipotype = ipotype;
this.ipotype_hue = ipotype_hue;
this.color_mode = color_mode;
this._pad = _pad;
this.data = data;
}
}
}