Added memoryOffset value to DNAFieldAttribute, regenerated files.

This commit is contained in:
Samuele Lorefice
2025-02-20 21:00:55 +01:00
parent b171b65aa5
commit f383debd18
939 changed files with 9636 additions and 9605 deletions

View File

@@ -15,97 +15,97 @@ namespace BlendFile.DNA {
[DNAClassAttribute(129, "Material", 392)]
public class Material {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false, 0)]
public ID id;
[DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true)]
[DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 8, true, 208)]
public AnimData ptr_adt;
[DNAFieldAttribute(2, "short", "flag", "short", 2, false)]
[DNAFieldAttribute(2, "short", "flag", "short", 2, false, 216)]
public short flag;
[DNAFieldAttribute(3, "char", "surface_render_method", "char", 1, false)]
[DNAFieldAttribute(3, "char", "surface_render_method", "char", 1, false, 218)]
public char surface_render_method;
[DNAFieldAttribute(4, "char", "_pad1[1]", "System.Char[]", 1, false)]
[DNAFieldAttribute(4, "char", "_pad1[1]", "System.Char[]", 1, false, 219)]
public char[] _pad1 = new System.Char[1];
[DNAFieldAttribute(5, "float", "r", "float", 4, false)]
[DNAFieldAttribute(5, "float", "r", "float", 4, false, 220)]
public float r;
[DNAFieldAttribute(6, "float", "g", "float", 4, false)]
[DNAFieldAttribute(6, "float", "g", "float", 4, false, 224)]
public float g;
[DNAFieldAttribute(7, "float", "b", "float", 4, false)]
[DNAFieldAttribute(7, "float", "b", "float", 4, false, 228)]
public float b;
[DNAFieldAttribute(8, "float", "a", "float", 4, false)]
[DNAFieldAttribute(8, "float", "a", "float", 4, false, 232)]
public float a;
[DNAFieldAttribute(9, "float", "specr", "float", 4, false)]
[DNAFieldAttribute(9, "float", "specr", "float", 4, false, 236)]
public float specr;
[DNAFieldAttribute(10, "float", "specg", "float", 4, false)]
[DNAFieldAttribute(10, "float", "specg", "float", 4, false, 240)]
public float specg;
[DNAFieldAttribute(11, "float", "specb", "float", 4, false)]
[DNAFieldAttribute(11, "float", "specb", "float", 4, false, 244)]
public float specb;
[DNAFieldAttribute(12, "float", "alpha", "float", 4, false)]
[DNAFieldAttribute(12, "float", "alpha", "float", 4, false, 248)]
public float alpha;
[DNAFieldAttribute(13, "float", "ray_mirror", "float", 4, false)]
[DNAFieldAttribute(13, "float", "ray_mirror", "float", 4, false, 252)]
public float ray_mirror;
[DNAFieldAttribute(14, "float", "spec", "float", 4, false)]
[DNAFieldAttribute(14, "float", "spec", "float", 4, false, 256)]
public float spec;
[DNAFieldAttribute(15, "float", "gloss_mir", "float", 4, false)]
[DNAFieldAttribute(15, "float", "gloss_mir", "float", 4, false, 260)]
public float gloss_mir;
[DNAFieldAttribute(16, "float", "roughness", "float", 4, false)]
[DNAFieldAttribute(16, "float", "roughness", "float", 4, false, 264)]
public float roughness;
[DNAFieldAttribute(17, "float", "metallic", "float", 4, false)]
[DNAFieldAttribute(17, "float", "metallic", "float", 4, false, 268)]
public float metallic;
[DNAFieldAttribute(18, "char", "use_nodes", "char", 1, false)]
[DNAFieldAttribute(18, "char", "use_nodes", "char", 1, false, 272)]
public char use_nodes;
[DNAFieldAttribute(19, "char", "pr_type", "char", 1, false)]
[DNAFieldAttribute(19, "char", "pr_type", "char", 1, false, 273)]
public char pr_type;
[DNAFieldAttribute(20, "short", "pr_texture", "short", 2, false)]
[DNAFieldAttribute(20, "short", "pr_texture", "short", 2, false, 274)]
public short pr_texture;
[DNAFieldAttribute(21, "short", "pr_flag", "short", 2, false)]
[DNAFieldAttribute(21, "short", "pr_flag", "short", 2, false, 276)]
public short pr_flag;
[DNAFieldAttribute(22, "short", "index", "short", 2, false)]
[DNAFieldAttribute(22, "short", "index", "short", 2, false, 278)]
public short index;
[DNAFieldAttribute(23, "bNodeTree", "*nodetree", "bNodeTree", 8, true)]
[DNAFieldAttribute(23, "bNodeTree", "*nodetree", "bNodeTree", 8, true, 280)]
public bNodeTree ptr_nodetree;
[DNAFieldAttribute(24, "Ipo", "*ipo", "Ipo", 8, true)]
[DNAFieldAttribute(24, "Ipo", "*ipo", "Ipo", 8, true, 288)]
public Ipo ptr_ipo;
[DNAFieldAttribute(25, "PreviewImage", "*preview", "PreviewImage", 8, true)]
[DNAFieldAttribute(25, "PreviewImage", "*preview", "PreviewImage", 8, true, 296)]
public PreviewImage ptr_preview;
[DNAFieldAttribute(26, "float", "line_col[4]", "System.Single[]", 16, false)]
[DNAFieldAttribute(26, "float", "line_col[4]", "System.Single[]", 16, false, 304)]
public float[] line_col = new System.Single[4];
[DNAFieldAttribute(27, "short", "line_priority", "short", 2, false)]
[DNAFieldAttribute(27, "short", "line_priority", "short", 2, false, 320)]
public short line_priority;
[DNAFieldAttribute(28, "short", "vcol_alpha", "short", 2, false)]
[DNAFieldAttribute(28, "short", "vcol_alpha", "short", 2, false, 322)]
public short vcol_alpha;
[DNAFieldAttribute(29, "short", "paint_active_slot", "short", 2, false)]
[DNAFieldAttribute(29, "short", "paint_active_slot", "short", 2, false, 324)]
public short paint_active_slot;
[DNAFieldAttribute(30, "short", "paint_clone_slot", "short", 2, false)]
[DNAFieldAttribute(30, "short", "paint_clone_slot", "short", 2, false, 326)]
public short paint_clone_slot;
[DNAFieldAttribute(31, "short", "tot_slots", "short", 2, false)]
[DNAFieldAttribute(31, "short", "tot_slots", "short", 2, false, 328)]
public short tot_slots;
[DNAFieldAttribute(32, "char", "displacement_method", "char", 1, false)]
[DNAFieldAttribute(32, "char", "displacement_method", "char", 1, false, 330)]
public char displacement_method;
[DNAFieldAttribute(33, "char", "thickness_mode", "char", 1, false)]
[DNAFieldAttribute(33, "char", "thickness_mode", "char", 1, false, 331)]
public char thickness_mode;
[DNAFieldAttribute(34, "float", "alpha_threshold", "float", 4, false)]
[DNAFieldAttribute(34, "float", "alpha_threshold", "float", 4, false, 332)]
public float alpha_threshold;
[DNAFieldAttribute(35, "float", "refract_depth", "float", 4, false)]
[DNAFieldAttribute(35, "float", "refract_depth", "float", 4, false, 336)]
public float refract_depth;
[DNAFieldAttribute(36, "char", "blend_method", "char", 1, false)]
[DNAFieldAttribute(36, "char", "blend_method", "char", 1, false, 340)]
public char blend_method;
[DNAFieldAttribute(37, "char", "blend_shadow", "char", 1, false)]
[DNAFieldAttribute(37, "char", "blend_shadow", "char", 1, false, 341)]
public char blend_shadow;
[DNAFieldAttribute(38, "char", "blend_flag", "char", 1, false)]
[DNAFieldAttribute(38, "char", "blend_flag", "char", 1, false, 342)]
public char blend_flag;
[DNAFieldAttribute(39, "char", "volume_intersection_method", "char", 1, false)]
[DNAFieldAttribute(39, "char", "volume_intersection_method", "char", 1, false, 343)]
public char volume_intersection_method;
[DNAFieldAttribute(40, "float", "inflate_bounds", "float", 4, false)]
[DNAFieldAttribute(40, "float", "inflate_bounds", "float", 4, false, 344)]
public float inflate_bounds;
[DNAFieldAttribute(41, "char", "_pad3[4]", "System.Char[]", 4, false)]
[DNAFieldAttribute(41, "char", "_pad3[4]", "System.Char[]", 4, false, 348)]
public char[] _pad3 = new System.Char[4];
[DNAFieldAttribute(42, "TexPaintSlot", "*texpaintslot", "TexPaintSlot", 8, true)]
[DNAFieldAttribute(42, "TexPaintSlot", "*texpaintslot", "TexPaintSlot", 8, true, 352)]
public TexPaintSlot ptr_texpaintslot;
[DNAFieldAttribute(43, "ListBase", "gpumaterial", "ListBase", 16, false)]
[DNAFieldAttribute(43, "ListBase", "gpumaterial", "ListBase", 16, false, 360)]
public ListBase gpumaterial;
[DNAFieldAttribute(44, "MaterialGPencilStyle", "*gp_style", "MaterialGPencilStyle", 8, true)]
[DNAFieldAttribute(44, "MaterialGPencilStyle", "*gp_style", "MaterialGPencilStyle", 8, true, 376)]
public MaterialGPencilStyle ptr_gp_style;
[DNAFieldAttribute(45, "MaterialLineArt", "lineart", "MaterialLineArt", 8, false)]
[DNAFieldAttribute(45, "MaterialLineArt", "lineart", "MaterialLineArt", 8, false, 384)]
public MaterialLineArt lineart;
public Material() {
this.id = default;