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

58 lines
2.2 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(987, "uiFontStyle")]
public struct uiFontStyle {
[DNAFieldAttribute(0, "short", "uifont_id", 2)]
public short uifont_id;
[DNAFieldAttribute(1, "char", "_pad1[2]", 1)]
public char[] _pad1 = new System.Char[2];
[DNAFieldAttribute(2, "float", "points", 4)]
public float points;
[DNAFieldAttribute(3, "short", "italic", 2)]
public short italic;
[DNAFieldAttribute(4, "short", "bold", 2)]
public short bold;
[DNAFieldAttribute(5, "short", "shadow", 2)]
public short shadow;
[DNAFieldAttribute(6, "short", "shadx", 2)]
public short shadx;
[DNAFieldAttribute(7, "short", "shady", 2)]
public short shady;
[DNAFieldAttribute(8, "char", "_pad0[2]", 1)]
public char[] _pad0 = new System.Char[2];
[DNAFieldAttribute(9, "float", "shadowalpha", 4)]
public float shadowalpha;
[DNAFieldAttribute(10, "float", "shadowcolor", 4)]
public float shadowcolor;
[DNAFieldAttribute(11, "int", "character_weight", 4)]
public int character_weight;
public uiFontStyle(short uifont_id, char[] _pad1, float points, short italic, short bold, short shadow, short shadx, short shady, char[] _pad0, float shadowalpha, float shadowcolor, int character_weight) {
this.uifont_id = uifont_id;
this._pad1 = _pad1;
this.points = points;
this.italic = italic;
this.bold = bold;
this.shadow = shadow;
this.shadx = shadx;
this.shady = shady;
this._pad0 = _pad0;
this.shadowalpha = shadowalpha;
this.shadowcolor = shadowcolor;
this.character_weight = character_weight;
}
}
}