Files
BlenderSharp/BlendFile/DNA/TextVars.cs
2025-01-22 20:24:55 +01:00

97 lines
3.7 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;
public class TextVars {
[DNAFieldAttribute(0, "char", "text[512]", 1)]
public char[] text = new System.Char[512];
[DNAFieldAttribute(1, "VFont", "*text_font", 1256)]
public VFont ptr_text_font;
[DNAFieldAttribute(2, "int", "text_blf_id", 4)]
public int text_blf_id;
[DNAFieldAttribute(3, "float", "text_size", 4)]
public float text_size;
[DNAFieldAttribute(4, "float", "color[4]", 4)]
public float[] color = new System.Single[4];
[DNAFieldAttribute(5, "float", "shadow_color[4]", 4)]
public float[] shadow_color = new System.Single[4];
[DNAFieldAttribute(6, "float", "box_color[4]", 4)]
public float[] box_color = new System.Single[4];
[DNAFieldAttribute(7, "float", "outline_color[4]", 4)]
public float[] outline_color = new System.Single[4];
[DNAFieldAttribute(8, "float", "loc[2]", 4)]
public float[] loc = new System.Single[2];
[DNAFieldAttribute(9, "float", "wrap_width", 4)]
public float wrap_width;
[DNAFieldAttribute(10, "float", "box_margin", 4)]
public float box_margin;
[DNAFieldAttribute(11, "float", "shadow_angle", 4)]
public float shadow_angle;
[DNAFieldAttribute(12, "float", "shadow_offset", 4)]
public float shadow_offset;
[DNAFieldAttribute(13, "float", "shadow_blur", 4)]
public float shadow_blur;
[DNAFieldAttribute(14, "float", "outline_width", 4)]
public float outline_width;
[DNAFieldAttribute(15, "char", "flag", 1)]
public char flag;
[DNAFieldAttribute(16, "char", "align", 1)]
public char align;
[DNAFieldAttribute(17, "char", "align_y", 1)]
public char align_y;
[DNAFieldAttribute(18, "char", "_pad[5]", 1)]
public char[] _pad = new System.Char[5];
public TextVars(
char[] text,
VFont ptr_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.ptr_text_font = ptr_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;
}
}
}