Files
BlenderSharp/BlendFile/DNA/Brush.cs

397 lines
18 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 BlendFile.CompatTypes;
using System;
// Automatically generated by BlenderSharp at 22/01/2025 02:33:14
namespace BlendFile.DNA {
public class Brush {
public ID id;
public BrushClone clone;
public CurveMapping ptr_curve;
public MTex mtex;
public MTex mask_mtex;
public Brush ptr_toggle_brush;
public ImBuf ptr_icon_imbuf;
public PreviewImage ptr_preview;
public ColorBand ptr_gradient;
public PaintCurve ptr_paint_curve;
public char[] icon_filepath = new System.Char[1024];
public float normal_weight;
public float rake_factor;
public short blend;
public short ob_mode;
public float weight;
public int size;
public int flag;
public int flag2;
public int sampling_flag;
public int input_samples;
public int mask_pressure;
public float jitter;
public int jitter_absolute;
public int overlay_flags;
public int spacing;
public int smooth_stroke_radius;
public float smooth_stroke_factor;
public float rate;
public float[] rgb = new System.Single[3];
public float alpha;
public float hardness;
public float flow;
public float wet_mix;
public float wet_persistence;
public float density;
public int paint_flags;
public float tip_roundness;
public float tip_scale_x;
public float[] secondary_rgb = new System.Single[3];
public float dash_ratio;
public int dash_samples;
public int sculpt_plane;
public float plane_offset;
public int gradient_spacing;
public char gradient_stroke_mode;
public char gradient_fill_mode;
public char has_unsaved_changes;
public char falloff_shape;
public float falloff_angle;
public char sculpt_tool;
public char vertexpaint_tool;
public char weightpaint_tool;
public char imagepaint_tool;
public char mask_tool;
public char gpencil_tool;
public char gpencil_vertex_tool;
public char gpencil_sculpt_tool;
public char gpencil_weight_tool;
public char curves_sculpt_tool;
public char[] _pad1 = new System.Char[6];
public float autosmooth_factor;
public float tilt_strength_factor;
public float topology_rake_factor;
public float crease_pinch_factor;
public float normal_radius_factor;
public float area_radius_factor;
public float wet_paint_radius_factor;
public float plane_trim;
public float height;
public float texture_sample_bias;
public int curve_preset;
public float disconnected_distance_max;
public int deform_target;
public int automasking_flags;
public int automasking_boundary_edges_propagation_steps;
public float automasking_start_normal_limit;
public float automasking_start_normal_falloff;
public float automasking_view_normal_limit;
public float automasking_view_normal_falloff;
public int elastic_deform_type;
public float elastic_deform_volume_preservation;
public int snake_hook_deform_type;
public int pose_deform_type;
public float pose_offset;
public int pose_smooth_iterations;
public int pose_ik_segments;
public int pose_origin_type;
public int boundary_deform_type;
public int boundary_falloff_type;
public float boundary_offset;
public int cloth_deform_type;
public int cloth_force_falloff_type;
public int cloth_simulation_area_type;
public float cloth_mass;
public float cloth_damping;
public float cloth_sim_limit;
public float cloth_sim_falloff;
public float cloth_constraint_softbody_strength;
public int smooth_deform_type;
public float surface_smooth_shape_preservation;
public float surface_smooth_current_vertex;
public int surface_smooth_iterations;
public float multiplane_scrape_angle;
public int smear_deform_type;
public int slide_deform_type;
public int texture_overlay_alpha;
public int mask_overlay_alpha;
public int cursor_overlay_alpha;
public float unprojected_radius;
public float sharp_threshold;
public int blur_kernel_radius;
public int blur_mode;
public float fill_threshold;
public float[] add_col = new System.Single[4];
public float[] sub_col = new System.Single[4];
public float[] stencil_pos = new System.Single[2];
public float[] stencil_dimension = new System.Single[2];
public float[] mask_stencil_pos = new System.Single[2];
public float[] mask_stencil_dimension = new System.Single[2];
public BrushGpencilSettings ptr_gpencil_settings;
public BrushCurvesSculptSettings ptr_curves_sculpt_settings;
public int automasking_cavity_blur_steps;
public float automasking_cavity_factor;
public CurveMapping ptr_automasking_cavity_curve;
public Brush(
ID id,
BrushClone clone,
CurveMapping ptr_curve,
MTex mtex,
MTex mask_mtex,
Brush ptr_toggle_brush,
ImBuf ptr_icon_imbuf,
PreviewImage ptr_preview,
ColorBand ptr_gradient,
PaintCurve ptr_paint_curve,
char[] icon_filepath,
float normal_weight,
float rake_factor,
short blend,
short ob_mode,
float weight,
int size,
int flag,
int flag2,
int sampling_flag,
int input_samples,
int mask_pressure,
float jitter,
int jitter_absolute,
int overlay_flags,
int spacing,
int smooth_stroke_radius,
float smooth_stroke_factor,
float rate,
float[] rgb,
float alpha,
float hardness,
float flow,
float wet_mix,
float wet_persistence,
float density,
int paint_flags,
float tip_roundness,
float tip_scale_x,
float[] secondary_rgb,
float dash_ratio,
int dash_samples,
int sculpt_plane,
float plane_offset,
int gradient_spacing,
char gradient_stroke_mode,
char gradient_fill_mode,
char has_unsaved_changes,
char falloff_shape,
float falloff_angle,
char sculpt_tool,
char vertexpaint_tool,
char weightpaint_tool,
char imagepaint_tool,
char mask_tool,
char gpencil_tool,
char gpencil_vertex_tool,
char gpencil_sculpt_tool,
char gpencil_weight_tool,
char curves_sculpt_tool,
char[] _pad1,
float autosmooth_factor,
float tilt_strength_factor,
float topology_rake_factor,
float crease_pinch_factor,
float normal_radius_factor,
float area_radius_factor,
float wet_paint_radius_factor,
float plane_trim,
float height,
float texture_sample_bias,
int curve_preset,
float disconnected_distance_max,
int deform_target,
int automasking_flags,
int automasking_boundary_edges_propagation_steps,
float automasking_start_normal_limit,
float automasking_start_normal_falloff,
float automasking_view_normal_limit,
float automasking_view_normal_falloff,
int elastic_deform_type,
float elastic_deform_volume_preservation,
int snake_hook_deform_type,
int pose_deform_type,
float pose_offset,
int pose_smooth_iterations,
int pose_ik_segments,
int pose_origin_type,
int boundary_deform_type,
int boundary_falloff_type,
float boundary_offset,
int cloth_deform_type,
int cloth_force_falloff_type,
int cloth_simulation_area_type,
float cloth_mass,
float cloth_damping,
float cloth_sim_limit,
float cloth_sim_falloff,
float cloth_constraint_softbody_strength,
int smooth_deform_type,
float surface_smooth_shape_preservation,
float surface_smooth_current_vertex,
int surface_smooth_iterations,
float multiplane_scrape_angle,
int smear_deform_type,
int slide_deform_type,
int texture_overlay_alpha,
int mask_overlay_alpha,
int cursor_overlay_alpha,
float unprojected_radius,
float sharp_threshold,
int blur_kernel_radius,
int blur_mode,
float fill_threshold,
float[] add_col,
float[] sub_col,
float[] stencil_pos,
float[] stencil_dimension,
float[] mask_stencil_pos,
float[] mask_stencil_dimension,
BrushGpencilSettings ptr_gpencil_settings,
BrushCurvesSculptSettings ptr_curves_sculpt_settings,
int automasking_cavity_blur_steps,
float automasking_cavity_factor,
CurveMapping ptr_automasking_cavity_curve) {
this.id = id;
this.clone = clone;
this.ptr_curve = ptr_curve;
this.mtex = mtex;
this.mask_mtex = mask_mtex;
this.ptr_toggle_brush = ptr_toggle_brush;
this.ptr_icon_imbuf = ptr_icon_imbuf;
this.ptr_preview = ptr_preview;
this.ptr_gradient = ptr_gradient;
this.ptr_paint_curve = ptr_paint_curve;
this.icon_filepath = icon_filepath;
this.normal_weight = normal_weight;
this.rake_factor = rake_factor;
this.blend = blend;
this.ob_mode = ob_mode;
this.weight = weight;
this.size = size;
this.flag = flag;
this.flag2 = flag2;
this.sampling_flag = sampling_flag;
this.input_samples = input_samples;
this.mask_pressure = mask_pressure;
this.jitter = jitter;
this.jitter_absolute = jitter_absolute;
this.overlay_flags = overlay_flags;
this.spacing = spacing;
this.smooth_stroke_radius = smooth_stroke_radius;
this.smooth_stroke_factor = smooth_stroke_factor;
this.rate = rate;
this.rgb = rgb;
this.alpha = alpha;
this.hardness = hardness;
this.flow = flow;
this.wet_mix = wet_mix;
this.wet_persistence = wet_persistence;
this.density = density;
this.paint_flags = paint_flags;
this.tip_roundness = tip_roundness;
this.tip_scale_x = tip_scale_x;
this.secondary_rgb = secondary_rgb;
this.dash_ratio = dash_ratio;
this.dash_samples = dash_samples;
this.sculpt_plane = sculpt_plane;
this.plane_offset = plane_offset;
this.gradient_spacing = gradient_spacing;
this.gradient_stroke_mode = gradient_stroke_mode;
this.gradient_fill_mode = gradient_fill_mode;
this.has_unsaved_changes = has_unsaved_changes;
this.falloff_shape = falloff_shape;
this.falloff_angle = falloff_angle;
this.sculpt_tool = sculpt_tool;
this.vertexpaint_tool = vertexpaint_tool;
this.weightpaint_tool = weightpaint_tool;
this.imagepaint_tool = imagepaint_tool;
this.mask_tool = mask_tool;
this.gpencil_tool = gpencil_tool;
this.gpencil_vertex_tool = gpencil_vertex_tool;
this.gpencil_sculpt_tool = gpencil_sculpt_tool;
this.gpencil_weight_tool = gpencil_weight_tool;
this.curves_sculpt_tool = curves_sculpt_tool;
this._pad1 = _pad1;
this.autosmooth_factor = autosmooth_factor;
this.tilt_strength_factor = tilt_strength_factor;
this.topology_rake_factor = topology_rake_factor;
this.crease_pinch_factor = crease_pinch_factor;
this.normal_radius_factor = normal_radius_factor;
this.area_radius_factor = area_radius_factor;
this.wet_paint_radius_factor = wet_paint_radius_factor;
this.plane_trim = plane_trim;
this.height = height;
this.texture_sample_bias = texture_sample_bias;
this.curve_preset = curve_preset;
this.disconnected_distance_max = disconnected_distance_max;
this.deform_target = deform_target;
this.automasking_flags = automasking_flags;
this.automasking_boundary_edges_propagation_steps = automasking_boundary_edges_propagation_steps;
this.automasking_start_normal_limit = automasking_start_normal_limit;
this.automasking_start_normal_falloff = automasking_start_normal_falloff;
this.automasking_view_normal_limit = automasking_view_normal_limit;
this.automasking_view_normal_falloff = automasking_view_normal_falloff;
this.elastic_deform_type = elastic_deform_type;
this.elastic_deform_volume_preservation = elastic_deform_volume_preservation;
this.snake_hook_deform_type = snake_hook_deform_type;
this.pose_deform_type = pose_deform_type;
this.pose_offset = pose_offset;
this.pose_smooth_iterations = pose_smooth_iterations;
this.pose_ik_segments = pose_ik_segments;
this.pose_origin_type = pose_origin_type;
this.boundary_deform_type = boundary_deform_type;
this.boundary_falloff_type = boundary_falloff_type;
this.boundary_offset = boundary_offset;
this.cloth_deform_type = cloth_deform_type;
this.cloth_force_falloff_type = cloth_force_falloff_type;
this.cloth_simulation_area_type = cloth_simulation_area_type;
this.cloth_mass = cloth_mass;
this.cloth_damping = cloth_damping;
this.cloth_sim_limit = cloth_sim_limit;
this.cloth_sim_falloff = cloth_sim_falloff;
this.cloth_constraint_softbody_strength = cloth_constraint_softbody_strength;
this.smooth_deform_type = smooth_deform_type;
this.surface_smooth_shape_preservation = surface_smooth_shape_preservation;
this.surface_smooth_current_vertex = surface_smooth_current_vertex;
this.surface_smooth_iterations = surface_smooth_iterations;
this.multiplane_scrape_angle = multiplane_scrape_angle;
this.smear_deform_type = smear_deform_type;
this.slide_deform_type = slide_deform_type;
this.texture_overlay_alpha = texture_overlay_alpha;
this.mask_overlay_alpha = mask_overlay_alpha;
this.cursor_overlay_alpha = cursor_overlay_alpha;
this.unprojected_radius = unprojected_radius;
this.sharp_threshold = sharp_threshold;
this.blur_kernel_radius = blur_kernel_radius;
this.blur_mode = blur_mode;
this.fill_threshold = fill_threshold;
this.add_col = add_col;
this.sub_col = sub_col;
this.stencil_pos = stencil_pos;
this.stencil_dimension = stencil_dimension;
this.mask_stencil_pos = mask_stencil_pos;
this.mask_stencil_dimension = mask_stencil_dimension;
this.ptr_gpencil_settings = ptr_gpencil_settings;
this.ptr_curves_sculpt_settings = ptr_curves_sculpt_settings;
this.automasking_cavity_blur_steps = automasking_cavity_blur_steps;
this.automasking_cavity_factor = automasking_cavity_factor;
this.ptr_automasking_cavity_curve = ptr_automasking_cavity_curve;
}
}
}