//------------------------------------------------------------------------------ // // 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; public class BrushGpencilSettings { [DNAFieldAttribute(0, "float", "draw_smoothfac", 4)] public float draw_smoothfac; [DNAFieldAttribute(1, "float", "fill_factor", 4)] public float fill_factor; [DNAFieldAttribute(2, "float", "draw_strength", 4)] public float draw_strength; [DNAFieldAttribute(3, "float", "draw_jitter", 4)] public float draw_jitter; [DNAFieldAttribute(4, "float", "draw_angle", 4)] public float draw_angle; [DNAFieldAttribute(5, "float", "draw_angle_factor", 4)] public float draw_angle_factor; [DNAFieldAttribute(6, "float", "draw_random_press", 4)] public float draw_random_press; [DNAFieldAttribute(7, "float", "draw_random_strength", 4)] public float draw_random_strength; [DNAFieldAttribute(8, "short", "draw_smoothlvl", 2)] public short draw_smoothlvl; [DNAFieldAttribute(9, "short", "draw_subdivide", 2)] public short draw_subdivide; [DNAFieldAttribute(10, "short", "fill_layer_mode", 2)] public short fill_layer_mode; [DNAFieldAttribute(11, "short", "fill_direction", 2)] public short fill_direction; [DNAFieldAttribute(12, "float", "fill_threshold", 4)] public float fill_threshold; [DNAFieldAttribute(13, "char", "_pad2[2]", 1)] public char[] _pad2 = new System.Char[2]; [DNAFieldAttribute(14, "int8_t", "caps_type", 1)] public sbyte caps_type; [DNAFieldAttribute(15, "char", "_pad[1]", 1)] public char[] _pad = new System.Char[1]; [DNAFieldAttribute(16, "int", "flag2", 4)] public int flag2; [DNAFieldAttribute(17, "int", "fill_simplylvl", 4)] public int fill_simplylvl; [DNAFieldAttribute(18, "int", "fill_draw_mode", 4)] public int fill_draw_mode; [DNAFieldAttribute(19, "int", "fill_extend_mode", 4)] public int fill_extend_mode; [DNAFieldAttribute(20, "int", "input_samples", 4)] public int input_samples; [DNAFieldAttribute(21, "float", "uv_random", 4)] public float uv_random; [DNAFieldAttribute(22, "int", "brush_type", 4)] public int brush_type; [DNAFieldAttribute(23, "int", "eraser_mode", 4)] public int eraser_mode; [DNAFieldAttribute(24, "float", "active_smooth", 4)] public float active_smooth; [DNAFieldAttribute(25, "float", "era_strength_f", 4)] public float era_strength_f; [DNAFieldAttribute(26, "float", "era_thickness_f", 4)] public float era_thickness_f; [DNAFieldAttribute(27, "int", "flag", 4)] public int flag; [DNAFieldAttribute(28, "float", "gradient_f", 4)] public float gradient_f; [DNAFieldAttribute(29, "float", "gradient_s[2]", 4)] public float[] gradient_s = new System.Single[2]; [DNAFieldAttribute(30, "float", "simplify_f", 4)] public float simplify_f; [DNAFieldAttribute(31, "float", "vertex_factor", 4)] public float vertex_factor; [DNAFieldAttribute(32, "int", "vertex_mode", 4)] public int vertex_mode; [DNAFieldAttribute(33, "int", "sculpt_flag", 4)] public int sculpt_flag; [DNAFieldAttribute(34, "int", "sculpt_mode_flag", 4)] public int sculpt_mode_flag; [DNAFieldAttribute(35, "short", "preset_type", 2)] public short preset_type; [DNAFieldAttribute(36, "short", "brush_draw_mode", 2)] public short brush_draw_mode; [DNAFieldAttribute(37, "float", "random_hue", 4)] public float random_hue; [DNAFieldAttribute(38, "float", "random_saturation", 4)] public float random_saturation; [DNAFieldAttribute(39, "float", "random_value", 4)] public float random_value; [DNAFieldAttribute(40, "float", "fill_extend_fac", 4)] public float fill_extend_fac; [DNAFieldAttribute(41, "int", "dilate_pixels", 4)] public int dilate_pixels; [DNAFieldAttribute(42, "CurveMapping", "*curve_sensitivity", 424)] public CurveMapping ptr_curve_sensitivity; [DNAFieldAttribute(43, "CurveMapping", "*curve_strength", 424)] public CurveMapping ptr_curve_strength; [DNAFieldAttribute(44, "CurveMapping", "*curve_jitter", 424)] public CurveMapping ptr_curve_jitter; [DNAFieldAttribute(45, "CurveMapping", "*curve_rand_pressure", 424)] public CurveMapping ptr_curve_rand_pressure; [DNAFieldAttribute(46, "CurveMapping", "*curve_rand_strength", 424)] public CurveMapping ptr_curve_rand_strength; [DNAFieldAttribute(47, "CurveMapping", "*curve_rand_uv", 424)] public CurveMapping ptr_curve_rand_uv; [DNAFieldAttribute(48, "CurveMapping", "*curve_rand_hue", 424)] public CurveMapping ptr_curve_rand_hue; [DNAFieldAttribute(49, "CurveMapping", "*curve_rand_saturation", 424)] public CurveMapping ptr_curve_rand_saturation; [DNAFieldAttribute(50, "CurveMapping", "*curve_rand_value", 424)] public CurveMapping ptr_curve_rand_value; [DNAFieldAttribute(51, "float", "outline_fac", 4)] public float outline_fac; [DNAFieldAttribute(52, "float", "simplify_px", 4)] public float simplify_px; [DNAFieldAttribute(53, "Material", "*material", 392)] public Material ptr_material; [DNAFieldAttribute(54, "Material", "*material_alt", 392)] public Material ptr_material_alt; public BrushGpencilSettings( float draw_smoothfac, float fill_factor, float draw_strength, float draw_jitter, float draw_angle, float draw_angle_factor, float draw_random_press, float draw_random_strength, short draw_smoothlvl, short draw_subdivide, short fill_layer_mode, short fill_direction, float fill_threshold, char[] _pad2, sbyte caps_type, char[] _pad, int flag2, int fill_simplylvl, int fill_draw_mode, int fill_extend_mode, int input_samples, float uv_random, int brush_type, int eraser_mode, float active_smooth, float era_strength_f, float era_thickness_f, int flag, float gradient_f, float[] gradient_s, float simplify_f, float vertex_factor, int vertex_mode, int sculpt_flag, int sculpt_mode_flag, short preset_type, short brush_draw_mode, float random_hue, float random_saturation, float random_value, float fill_extend_fac, int dilate_pixels, CurveMapping ptr_curve_sensitivity, CurveMapping ptr_curve_strength, CurveMapping ptr_curve_jitter, CurveMapping ptr_curve_rand_pressure, CurveMapping ptr_curve_rand_strength, CurveMapping ptr_curve_rand_uv, CurveMapping ptr_curve_rand_hue, CurveMapping ptr_curve_rand_saturation, CurveMapping ptr_curve_rand_value, float outline_fac, float simplify_px, Material ptr_material, Material ptr_material_alt) { this.draw_smoothfac = draw_smoothfac; this.fill_factor = fill_factor; this.draw_strength = draw_strength; this.draw_jitter = draw_jitter; this.draw_angle = draw_angle; this.draw_angle_factor = draw_angle_factor; this.draw_random_press = draw_random_press; this.draw_random_strength = draw_random_strength; this.draw_smoothlvl = draw_smoothlvl; this.draw_subdivide = draw_subdivide; this.fill_layer_mode = fill_layer_mode; this.fill_direction = fill_direction; this.fill_threshold = fill_threshold; this._pad2 = _pad2; this.caps_type = caps_type; this._pad = _pad; this.flag2 = flag2; this.fill_simplylvl = fill_simplylvl; this.fill_draw_mode = fill_draw_mode; this.fill_extend_mode = fill_extend_mode; this.input_samples = input_samples; this.uv_random = uv_random; this.brush_type = brush_type; this.eraser_mode = eraser_mode; this.active_smooth = active_smooth; this.era_strength_f = era_strength_f; this.era_thickness_f = era_thickness_f; this.flag = flag; this.gradient_f = gradient_f; this.gradient_s = gradient_s; this.simplify_f = simplify_f; this.vertex_factor = vertex_factor; this.vertex_mode = vertex_mode; this.sculpt_flag = sculpt_flag; this.sculpt_mode_flag = sculpt_mode_flag; this.preset_type = preset_type; this.brush_draw_mode = brush_draw_mode; this.random_hue = random_hue; this.random_saturation = random_saturation; this.random_value = random_value; this.fill_extend_fac = fill_extend_fac; this.dilate_pixels = dilate_pixels; this.ptr_curve_sensitivity = ptr_curve_sensitivity; this.ptr_curve_strength = ptr_curve_strength; this.ptr_curve_jitter = ptr_curve_jitter; this.ptr_curve_rand_pressure = ptr_curve_rand_pressure; this.ptr_curve_rand_strength = ptr_curve_rand_strength; this.ptr_curve_rand_uv = ptr_curve_rand_uv; this.ptr_curve_rand_hue = ptr_curve_rand_hue; this.ptr_curve_rand_saturation = ptr_curve_rand_saturation; this.ptr_curve_rand_value = ptr_curve_rand_value; this.outline_fac = outline_fac; this.simplify_px = simplify_px; this.ptr_material = ptr_material; this.ptr_material_alt = ptr_material_alt; } } }