//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using System; namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(823, "UnifiedPaintSettings")] public class UnifiedPaintSettings { [DNAFieldAttribute(0, "int", "size", "int", 4)] public int size; [DNAFieldAttribute(1, "float", "unprojected_radius", "float", 4)] public float unprojected_radius; [DNAFieldAttribute(2, "float", "alpha", "float", 4)] public float alpha; [DNAFieldAttribute(3, "float", "weight", "float", 4)] public float weight; [DNAFieldAttribute(4, "float", "rgb[3]", "System.Single[]", 4)] public float[] rgb = new System.Single[3]; [DNAFieldAttribute(5, "float", "secondary_rgb[3]", "System.Single[]", 4)] public float[] secondary_rgb = new System.Single[3]; [DNAFieldAttribute(6, "int", "input_samples", "int", 4)] public int input_samples; [DNAFieldAttribute(7, "int", "flag", "int", 4)] public int flag; [DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 1)] public char[] _pad = new System.Char[4]; [DNAFieldAttribute(9, "float", "last_rake[2]", "System.Single[]", 4)] public float[] last_rake = new System.Single[2]; [DNAFieldAttribute(10, "float", "last_rake_angle", "float", 4)] public float last_rake_angle; [DNAFieldAttribute(11, "int", "last_stroke_valid", "int", 4)] public int last_stroke_valid; [DNAFieldAttribute(12, "float", "average_stroke_accum[3]", "System.Single[]", 4)] public float[] average_stroke_accum = new System.Single[3]; [DNAFieldAttribute(13, "int", "average_stroke_counter", "int", 4)] public int average_stroke_counter; [DNAFieldAttribute(14, "float", "brush_rotation", "float", 4)] public float brush_rotation; [DNAFieldAttribute(15, "float", "brush_rotation_sec", "float", 4)] public float brush_rotation_sec; [DNAFieldAttribute(16, "int", "anchored_size", "int", 4)] public int anchored_size; [DNAFieldAttribute(17, "float", "overlap_factor", "float", 4)] public float overlap_factor; [DNAFieldAttribute(18, "char", "draw_inverted", "char", 1)] public char draw_inverted; [DNAFieldAttribute(19, "char", "stroke_active", "char", 1)] public char stroke_active; [DNAFieldAttribute(20, "char", "draw_anchored", "char", 1)] public char draw_anchored; [DNAFieldAttribute(21, "char", "do_linear_conversion", "char", 1)] public char do_linear_conversion; [DNAFieldAttribute(22, "float", "last_location[3]", "System.Single[]", 4)] public float[] last_location = new System.Single[3]; [DNAFieldAttribute(23, "int", "last_hit", "int", 4)] public int last_hit; [DNAFieldAttribute(24, "float", "anchored_initial_mouse[2]", "System.Single[]", 4)] public float[] anchored_initial_mouse = new System.Single[2]; [DNAFieldAttribute(25, "float", "pixel_radius", "float", 4)] public float pixel_radius; [DNAFieldAttribute(26, "float", "initial_pixel_radius", "float", 4)] public float initial_pixel_radius; [DNAFieldAttribute(27, "float", "start_pixel_radius", "float", 4)] public float start_pixel_radius; [DNAFieldAttribute(28, "float", "size_pressure_value", "float", 4)] public float size_pressure_value; [DNAFieldAttribute(29, "float", "tex_mouse[2]", "System.Single[]", 4)] public float[] tex_mouse = new System.Single[2]; [DNAFieldAttribute(30, "float", "mask_tex_mouse[2]", "System.Single[]", 4)] public float[] mask_tex_mouse = new System.Single[2]; [DNAFieldAttribute(31, "ColorSpace", "*colorspace", "ColorSpace", 0)] public ColorSpace ptr_colorspace; public UnifiedPaintSettings() { this.size = default; this.unprojected_radius = default; this.alpha = default; this.weight = default; this.rgb = default; this.secondary_rgb = default; this.input_samples = default; this.flag = default; this._pad = default; this.last_rake = default; this.last_rake_angle = default; this.last_stroke_valid = default; this.average_stroke_accum = default; this.average_stroke_counter = default; this.brush_rotation = default; this.brush_rotation_sec = default; this.anchored_size = default; this.overlap_factor = default; this.draw_inverted = default; this.stroke_active = default; this.draw_anchored = default; this.do_linear_conversion = default; this.last_location = default; this.last_hit = default; this.anchored_initial_mouse = default; this.pixel_radius = default; this.initial_pixel_radius = default; this.start_pixel_radius = default; this.size_pressure_value = default; this.tex_mouse = default; this.mask_tex_mouse = default; this.ptr_colorspace = default; } public UnifiedPaintSettings( int size, float unprojected_radius, float alpha, float weight, float[] rgb, float[] secondary_rgb, int input_samples, int flag, char[] _pad, float[] last_rake, float last_rake_angle, int last_stroke_valid, float[] average_stroke_accum, int average_stroke_counter, float brush_rotation, float brush_rotation_sec, int anchored_size, float overlap_factor, char draw_inverted, char stroke_active, char draw_anchored, char do_linear_conversion, float[] last_location, int last_hit, float[] anchored_initial_mouse, float pixel_radius, float initial_pixel_radius, float start_pixel_radius, float size_pressure_value, float[] tex_mouse, float[] mask_tex_mouse, ColorSpace ptr_colorspace) { this.size = size; this.unprojected_radius = unprojected_radius; this.alpha = alpha; this.weight = weight; this.rgb = rgb; this.secondary_rgb = secondary_rgb; this.input_samples = input_samples; this.flag = flag; this._pad = _pad; this.last_rake = last_rake; this.last_rake_angle = last_rake_angle; this.last_stroke_valid = last_stroke_valid; this.average_stroke_accum = average_stroke_accum; this.average_stroke_counter = average_stroke_counter; this.brush_rotation = brush_rotation; this.brush_rotation_sec = brush_rotation_sec; this.anchored_size = anchored_size; this.overlap_factor = overlap_factor; this.draw_inverted = draw_inverted; this.stroke_active = stroke_active; this.draw_anchored = draw_anchored; this.do_linear_conversion = do_linear_conversion; this.last_location = last_location; this.last_hit = last_hit; this.anchored_initial_mouse = anchored_initial_mouse; this.pixel_radius = pixel_radius; this.initial_pixel_radius = initial_pixel_radius; this.start_pixel_radius = start_pixel_radius; this.size_pressure_value = size_pressure_value; this.tex_mouse = tex_mouse; this.mask_tex_mouse = mask_tex_mouse; this.ptr_colorspace = ptr_colorspace; } } }