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,69 +15,69 @@ namespace BlendFile.DNA {
[DNAClassAttribute(823, "UnifiedPaintSettings", 168)]
public class UnifiedPaintSettings {
[DNAFieldAttribute(0, "int", "size", "int", 4, false)]
[DNAFieldAttribute(0, "int", "size", "int", 4, false, 0)]
public int size;
[DNAFieldAttribute(1, "float", "unprojected_radius", "float", 4, false)]
[DNAFieldAttribute(1, "float", "unprojected_radius", "float", 4, false, 4)]
public float unprojected_radius;
[DNAFieldAttribute(2, "float", "alpha", "float", 4, false)]
[DNAFieldAttribute(2, "float", "alpha", "float", 4, false, 8)]
public float alpha;
[DNAFieldAttribute(3, "float", "weight", "float", 4, false)]
[DNAFieldAttribute(3, "float", "weight", "float", 4, false, 12)]
public float weight;
[DNAFieldAttribute(4, "float", "rgb[3]", "System.Single[]", 12, false)]
[DNAFieldAttribute(4, "float", "rgb[3]", "System.Single[]", 12, false, 16)]
public float[] rgb = new System.Single[3];
[DNAFieldAttribute(5, "float", "secondary_rgb[3]", "System.Single[]", 12, false)]
[DNAFieldAttribute(5, "float", "secondary_rgb[3]", "System.Single[]", 12, false, 28)]
public float[] secondary_rgb = new System.Single[3];
[DNAFieldAttribute(6, "int", "input_samples", "int", 4, false)]
[DNAFieldAttribute(6, "int", "input_samples", "int", 4, false, 40)]
public int input_samples;
[DNAFieldAttribute(7, "int", "flag", "int", 4, false)]
[DNAFieldAttribute(7, "int", "flag", "int", 4, false, 44)]
public int flag;
[DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false)]
[DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false, 48)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(9, "float", "last_rake[2]", "System.Single[]", 8, false)]
[DNAFieldAttribute(9, "float", "last_rake[2]", "System.Single[]", 8, false, 52)]
public float[] last_rake = new System.Single[2];
[DNAFieldAttribute(10, "float", "last_rake_angle", "float", 4, false)]
[DNAFieldAttribute(10, "float", "last_rake_angle", "float", 4, false, 60)]
public float last_rake_angle;
[DNAFieldAttribute(11, "int", "last_stroke_valid", "int", 4, false)]
[DNAFieldAttribute(11, "int", "last_stroke_valid", "int", 4, false, 64)]
public int last_stroke_valid;
[DNAFieldAttribute(12, "float", "average_stroke_accum[3]", "System.Single[]", 12, false)]
[DNAFieldAttribute(12, "float", "average_stroke_accum[3]", "System.Single[]", 12, false, 68)]
public float[] average_stroke_accum = new System.Single[3];
[DNAFieldAttribute(13, "int", "average_stroke_counter", "int", 4, false)]
[DNAFieldAttribute(13, "int", "average_stroke_counter", "int", 4, false, 80)]
public int average_stroke_counter;
[DNAFieldAttribute(14, "float", "brush_rotation", "float", 4, false)]
[DNAFieldAttribute(14, "float", "brush_rotation", "float", 4, false, 84)]
public float brush_rotation;
[DNAFieldAttribute(15, "float", "brush_rotation_sec", "float", 4, false)]
[DNAFieldAttribute(15, "float", "brush_rotation_sec", "float", 4, false, 88)]
public float brush_rotation_sec;
[DNAFieldAttribute(16, "int", "anchored_size", "int", 4, false)]
[DNAFieldAttribute(16, "int", "anchored_size", "int", 4, false, 92)]
public int anchored_size;
[DNAFieldAttribute(17, "float", "overlap_factor", "float", 4, false)]
[DNAFieldAttribute(17, "float", "overlap_factor", "float", 4, false, 96)]
public float overlap_factor;
[DNAFieldAttribute(18, "char", "draw_inverted", "char", 1, false)]
[DNAFieldAttribute(18, "char", "draw_inverted", "char", 1, false, 100)]
public char draw_inverted;
[DNAFieldAttribute(19, "char", "stroke_active", "char", 1, false)]
[DNAFieldAttribute(19, "char", "stroke_active", "char", 1, false, 101)]
public char stroke_active;
[DNAFieldAttribute(20, "char", "draw_anchored", "char", 1, false)]
[DNAFieldAttribute(20, "char", "draw_anchored", "char", 1, false, 102)]
public char draw_anchored;
[DNAFieldAttribute(21, "char", "do_linear_conversion", "char", 1, false)]
[DNAFieldAttribute(21, "char", "do_linear_conversion", "char", 1, false, 103)]
public char do_linear_conversion;
[DNAFieldAttribute(22, "float", "last_location[3]", "System.Single[]", 12, false)]
[DNAFieldAttribute(22, "float", "last_location[3]", "System.Single[]", 12, false, 104)]
public float[] last_location = new System.Single[3];
[DNAFieldAttribute(23, "int", "last_hit", "int", 4, false)]
[DNAFieldAttribute(23, "int", "last_hit", "int", 4, false, 116)]
public int last_hit;
[DNAFieldAttribute(24, "float", "anchored_initial_mouse[2]", "System.Single[]", 8, false)]
[DNAFieldAttribute(24, "float", "anchored_initial_mouse[2]", "System.Single[]", 8, false, 120)]
public float[] anchored_initial_mouse = new System.Single[2];
[DNAFieldAttribute(25, "float", "pixel_radius", "float", 4, false)]
[DNAFieldAttribute(25, "float", "pixel_radius", "float", 4, false, 128)]
public float pixel_radius;
[DNAFieldAttribute(26, "float", "initial_pixel_radius", "float", 4, false)]
[DNAFieldAttribute(26, "float", "initial_pixel_radius", "float", 4, false, 132)]
public float initial_pixel_radius;
[DNAFieldAttribute(27, "float", "start_pixel_radius", "float", 4, false)]
[DNAFieldAttribute(27, "float", "start_pixel_radius", "float", 4, false, 136)]
public float start_pixel_radius;
[DNAFieldAttribute(28, "float", "size_pressure_value", "float", 4, false)]
[DNAFieldAttribute(28, "float", "size_pressure_value", "float", 4, false, 140)]
public float size_pressure_value;
[DNAFieldAttribute(29, "float", "tex_mouse[2]", "System.Single[]", 8, false)]
[DNAFieldAttribute(29, "float", "tex_mouse[2]", "System.Single[]", 8, false, 144)]
public float[] tex_mouse = new System.Single[2];
[DNAFieldAttribute(30, "float", "mask_tex_mouse[2]", "System.Single[]", 8, false)]
[DNAFieldAttribute(30, "float", "mask_tex_mouse[2]", "System.Single[]", 8, false, 152)]
public float[] mask_tex_mouse = new System.Single[2];
[DNAFieldAttribute(31, "ColorSpace", "*colorspace", "ColorSpace", 8, true)]
[DNAFieldAttribute(31, "ColorSpace", "*colorspace", "ColorSpace", 8, true, 160)]
public ColorSpace ptr_colorspace;
public UnifiedPaintSettings() {
this.size = default;