Files
BlenderSharp/BlendFile/DNA/ColorBand.cs
2025-02-19 17:07:50 +01:00

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