Files
BlenderSharp/BlendFile/DNA/TextVars.cs
2025-03-12 19:02:40 +01:00

119 lines
5.0 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(902, "TextVars", 632)]
public class TextVars {
[DNAArrayAttribute(512, "char", 0, "text[512]", "System.Char[]", 512, false, 0)]
public char[] text = new System.Char[512];
[DNAFieldAttribute(8, "VFont", 1, "*text_font", "VFont", true, 512)]
public VFont text_font;
[DNAFieldAttribute(4, "int", 2, "text_blf_id", "int", false, 520)]
public int text_blf_id;
[DNAFieldAttribute(4, "float", 3, "text_size", "float", false, 524)]
public float text_size;
[DNAArrayAttribute(16, "float", 4, "color[4]", "System.Single[]", 4, false, 528)]
public float[] color = new System.Single[4];
[DNAArrayAttribute(16, "float", 5, "shadow_color[4]", "System.Single[]", 4, false, 544)]
public float[] shadow_color = new System.Single[4];
[DNAArrayAttribute(16, "float", 6, "box_color[4]", "System.Single[]", 4, false, 560)]
public float[] box_color = new System.Single[4];
[DNAArrayAttribute(16, "float", 7, "outline_color[4]", "System.Single[]", 4, false, 576)]
public float[] outline_color = new System.Single[4];
[DNAArrayAttribute(8, "float", 8, "loc[2]", "System.Single[]", 2, false, 592)]
public float[] loc = new System.Single[2];
[DNAFieldAttribute(4, "float", 9, "wrap_width", "float", false, 600)]
public float wrap_width;
[DNAFieldAttribute(4, "float", 10, "box_margin", "float", false, 604)]
public float box_margin;
[DNAFieldAttribute(4, "float", 11, "shadow_angle", "float", false, 608)]
public float shadow_angle;
[DNAFieldAttribute(4, "float", 12, "shadow_offset", "float", false, 612)]
public float shadow_offset;
[DNAFieldAttribute(4, "float", 13, "shadow_blur", "float", false, 616)]
public float shadow_blur;
[DNAFieldAttribute(4, "float", 14, "outline_width", "float", false, 620)]
public float outline_width;
[DNAFieldAttribute(1, "char", 15, "flag", "char", false, 624)]
public char flag;
[DNAFieldAttribute(1, "char", 16, "align", "char", false, 625)]
public char align;
[DNAFieldAttribute(1, "char", 17, "align_y", "char", false, 626)]
public char align_y;
[DNAArrayAttribute(5, "char", 18, "_pad[5]", "System.Char[]", 5, false, 627)]
public char[] _pad = new System.Char[5];
public TextVars() {
this.text = default;
this.text_font = default;
this.text_blf_id = default;
this.text_size = default;
this.color = default;
this.shadow_color = default;
this.box_color = default;
this.outline_color = default;
this.loc = default;
this.wrap_width = default;
this.box_margin = default;
this.shadow_angle = default;
this.shadow_offset = default;
this.shadow_blur = default;
this.outline_width = default;
this.flag = default;
this.align = default;
this.align_y = default;
this._pad = default;
}
public TextVars(
char[] text,
VFont text_font,
int text_blf_id,
float text_size,
float[] color,
float[] shadow_color,
float[] box_color,
float[] outline_color,
float[] loc,
float wrap_width,
float box_margin,
float shadow_angle,
float shadow_offset,
float shadow_blur,
float outline_width,
char flag,
char align,
char align_y,
char[] _pad) {
this.text = text;
this.text_font = text_font;
this.text_blf_id = text_blf_id;
this.text_size = text_size;
this.color = color;
this.shadow_color = shadow_color;
this.box_color = box_color;
this.outline_color = outline_color;
this.loc = loc;
this.wrap_width = wrap_width;
this.box_margin = box_margin;
this.shadow_angle = shadow_angle;
this.shadow_offset = shadow_offset;
this.shadow_blur = shadow_blur;
this.outline_width = outline_width;
this.flag = flag;
this.align = align;
this.align_y = align_y;
this._pad = _pad;
}
}
}