Blender V5.0
Brush Struct Reference

#include <DNA_brush_types.h>

Public Attributes

ID id
struct CurveMappingcurve_distance_falloff
struct MTex mtex
struct MTex mask_mtex
PreviewImagepreview
struct ColorBandgradient
struct PaintCurvepaint_curve
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 color [3]
int color_jitter_flag
float hsv_jitter [3]
struct CurveMappingcurve_rand_hue
struct CurveMappingcurve_rand_saturation
struct CurveMappingcurve_rand_value
struct CurveMappingcurve_size
struct CurveMappingcurve_strength
struct CurveMappingcurve_jitter
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_color [3]
float rgb[3] DNA_DEPRECATED
float secondary_rgb[3] DNA_DEPRECATED
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_brush_type
char vertex_brush_type
char weight_brush_type
char image_brush_type
char mask_tool
char gpencil_brush_type
char gpencil_vertex_brush_type
char gpencil_sculpt_brush_type
char gpencil_weight_brush_type
char curves_sculpt_brush_type
char _pad1 [10]
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 plane_height
float plane_depth
float stabilize_normal
float stabilize_plane
int plane_inversion_mode
float texture_sample_bias
int curve_distance_falloff_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_size
float sharp_threshold
int blur_kernel_radius
int blur_mode
float fill_threshold
float add_col [4]
float sub_col [4]
float stencil_pos [2]
float stencil_dimension [2]
float mask_stencil_pos [2]
float mask_stencil_dimension [2]
struct BrushGpencilSettingsgpencil_settings
struct BrushCurvesSculptSettingscurves_sculpt_settings
int automasking_cavity_blur_steps
float automasking_cavity_factor
struct CurveMappingautomasking_cavity_curve

Detailed Description

Note
Any change to members that is user visible and that may make the brush differ from the one saved in the asset library should be followed by a BKE_brush_tag_unsaved_changes() call.
Examples
/usr/src/RPM/BUILD/blender5.0-5.0.0/source/blender/blenkernel/BKE_grease_pencil.hh.

Definition at line 166 of file DNA_brush_types.h.

Member Data Documentation

◆ _pad1

char Brush::_pad1[10]

Definition at line 306 of file DNA_brush_types.h.

◆ add_col

◆ alpha

float Brush::alpha

◆ area_radius_factor

float Brush::area_radius_factor

◆ automasking_boundary_edges_propagation_steps

◆ automasking_cavity_blur_steps

int Brush::automasking_cavity_blur_steps

◆ automasking_cavity_curve

◆ automasking_cavity_factor

◆ automasking_flags

◆ automasking_start_normal_falloff

float Brush::automasking_start_normal_falloff

◆ automasking_start_normal_limit

float Brush::automasking_start_normal_limit

◆ automasking_view_normal_falloff

float Brush::automasking_view_normal_falloff

◆ automasking_view_normal_limit

float Brush::automasking_view_normal_limit

◆ autosmooth_factor

◆ blend

◆ blur_kernel_radius

int Brush::blur_kernel_radius

Definition at line 404 of file DNA_brush_types.h.

Referenced by paint_new_blur_kernel().

◆ blur_mode

int Brush::blur_mode

Definition at line 405 of file DNA_brush_types.h.

Referenced by paint_new_blur_kernel().

◆ boundary_deform_type

◆ boundary_falloff_type

◆ boundary_offset

◆ cloth_constraint_softbody_strength

float Brush::cloth_constraint_softbody_strength

◆ cloth_damping

float Brush::cloth_damping

Definition at line 373 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::cloth::do_cloth_brush().

◆ cloth_deform_type

◆ cloth_force_falloff_type

◆ cloth_mass

float Brush::cloth_mass

Definition at line 372 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::cloth::do_cloth_brush().

◆ cloth_sim_falloff

◆ cloth_sim_limit

◆ cloth_simulation_area_type

◆ color

◆ color_jitter_flag

int Brush::color_jitter_flag

Definition at line 222 of file DNA_brush_types.h.

Referenced by do_convert_gp_jitter_flags().

◆ crease_pinch_factor

float Brush::crease_pinch_factor

◆ cursor_overlay_alpha

◆ curve_distance_falloff

◆ curve_distance_falloff_preset

◆ curve_jitter

◆ curve_rand_hue

◆ curve_rand_saturation

◆ curve_rand_value

◆ curve_size

◆ curve_strength

◆ curves_sculpt_brush_type

◆ curves_sculpt_settings

◆ dash_ratio

float Brush::dash_ratio

Rate

Definition at line 261 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::paint_brush_stroke_add_step().

◆ dash_samples

int Brush::dash_samples

◆ deform_target

◆ density

float Brush::density

Density

Definition at line 244 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update().

◆ disconnected_distance_max

float Brush::disconnected_distance_max

Definition at line 336 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::pose::ik_chain_init().

◆ DNA_DEPRECATED [1/2]

float secondary_rgb [3] Brush::DNA_DEPRECATED

Definition at line 258 of file DNA_brush_types.h.

◆ DNA_DEPRECATED [2/2]

float rgb [3] Brush::DNA_DEPRECATED

Definition at line 257 of file DNA_brush_types.h.

◆ elastic_deform_type

int Brush::elastic_deform_type

◆ elastic_deform_volume_preservation

float Brush::elastic_deform_volume_preservation

◆ falloff_angle

float Brush::falloff_angle

Definition at line 284 of file DNA_brush_types.h.

Referenced by vpaint_init_vpaint(), and wpaint_stroke_test_start().

◆ falloff_shape

char Brush::falloff_shape

Projection shape (sphere, circle).

Definition at line 283 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_bmesh(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_grids(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_mesh(), blender::ed::sculpt_paint::brushes::calc_bmesh(), blender::ed::sculpt_paint::calc_brush_plane(), blender::ed::sculpt_paint::brushes::calc_faces(), blender::ed::sculpt_paint::calc_factors_common_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_grids(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_mesh(), blender::ed::sculpt_paint::calc_factors_common_grids(), blender::ed::sculpt_paint::calc_factors_common_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh_indexed(), blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::brushes::calc_grids(), blender::ed::sculpt_paint::brushes::clay_strips::calc_node_mask(), blender::ed::sculpt_paint::brushes::plane::calc_node_mask(), calculate_average_color(), calculate_average_weight(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::color::do_sample_wet_paint_task(), blender::ed::sculpt_paint::color::do_smear_brush_task(), do_vpaint_brush_blur_loops(), do_vpaint_brush_blur_verts(), do_vpaint_brush_smear(), do_wpaint_brush_blur(), do_wpaint_brush_draw(), do_wpaint_brush_smear(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::auto_mask::is_constrained_by_radius(), over_mesh(), blender::ed::sculpt_paint::paint_cursor_draw_3d_view_brush_cursor_inactive(), blender::ed::sculpt_paint::paint_cursor_sculpt_session_update_and_init(), blender::ed::sculpt_paint::pbvh_gather_generic(), blender::ed::sculpt_paint::vwpaint::pbvh_gather_generic(), blender::ed::sculpt_paint::brushes::sample_node_surface_bmesh(), blender::ed::sculpt_paint::brushes::sample_node_surface_grids(), blender::ed::sculpt_paint::brushes::sample_node_surface_mesh(), blender::ed::sculpt_paint::stroke_get_location_bvh(), blender::ed::sculpt_paint::update_sculpt_normal(), and vpaint_do_draw().

◆ fill_threshold

float Brush::fill_threshold

Definition at line 408 of file DNA_brush_types.h.

Referenced by paint_2d_bucket_fill().

◆ flag

int Brush::flag

General purpose flags.

Definition at line 197 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::brush_delta_update(), brush_flip(), brush_painter_2d_refresh_cache(), blender::ed::sculpt_paint::brush_plane_offset_get(), blender::ed::sculpt_paint::greasepencil::brush_radius_to_pixel_radius(), blender::ed::sculpt_paint::vwpaint::brush_use_accumulate_ex(), blender::ed::sculpt_paint::brushes::calc_bmesh(), blender::ed::sculpt_paint::calc_brush_node_mask(), blender::ed::sculpt_paint::calc_brush_plane(), blender::ed::sculpt_paint::brushes::calc_faces(), blender::ed::sculpt_paint::calc_factors_common_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_grids(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_mesh(), blender::ed::sculpt_paint::calc_factors_common_grids(), blender::ed::sculpt_paint::calc_factors_common_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh_indexed(), blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::brushes::calc_grids(), blender::ed::sculpt_paint::greasepencil::create_fill_guide_brush(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::brushes::do_clay_thumb_brush(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::brushes::do_layer_brush(), blender::ed::sculpt_paint::brushes::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::color::do_paint_brush_task(), do_projectpaint_thread(), blender::ed::sculpt_paint::color::do_smear_brush_task(), do_wpaint_brush_blur(), do_wpaint_brush_draw(), blender::ed::sculpt_paint::dynamic_topology_update(), ED_space_image_paint_curve(), blender::ed::sculpt_paint::cloth::ensure_nodes_constraints(), blender::ed::sculpt_paint::filter_plane_trim_limit_factors(), blender::ed::sculpt_paint::grease_pencil_brush_cursor_draw(), blender::ed::sculpt_paint::image_paint_brush_type_raycast_original(), blender::ed::sculpt_paint::image_paint_brush_type_require_inbetween_mouse_events(), blender::ed::transform::initTransInfo(), blender::ed::sculpt_paint::need_delta_from_anchored_origin(), blender::ed::sculpt_paint::new_grow_shrink_operation(), blender::ed::sculpt_paint::new_pinch_operation(), blender::ed::sculpt_paint::new_selection_paint_operation(), paint_2d_do_making_brush(), paint_2d_lift_soften(), paint_brush_color_get(), blender::ed::sculpt_paint::paint_brush_update(), blender::ed::sculpt_paint::paint_cursor_context_init(), blender::ed::sculpt_paint::paint_cursor_draw_3d_view_brush_cursor_inactive(), blender::ed::sculpt_paint::paint_cursor_update_unprojected_size(), paint_curve_poll(), blender::ed::sculpt_paint::paint_space_stroke_enabled(), blender::ed::sculpt_paint::paint_space_stroke_spacing(), blender::ed::sculpt_paint::paint_stroke_curve_end(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_done(), blender::ed::sculpt_paint::paint_stroke_integrate_overlap(), blender::ed::sculpt_paint::paint_stroke_jitter_pos(), blender::ed::sculpt_paint::paint_stroke_line_end(), blender::ed::sculpt_paint::paint_stroke_modal(), blender::ed::sculpt_paint::paint_stroke_new(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step(), blender::ed::sculpt_paint::paint_stroke_use_dash(), blender::ed::sculpt_paint::paint_stroke_use_jitter(), blender::ed::sculpt_paint::paint_stroke_use_scene_spacing(), blender::ed::sculpt_paint::paint_supports_dynamic_size(), blender::ed::sculpt_paint::paint_supports_dynamic_tex_coords(), blender::ed::sculpt_paint::paint_supports_smooth_stroke(), paint_use_opacity_masking(), project_state_init(), restore_from_undo_step_if_necessary(), blender::ed::sculpt_paint::brushes::sample_node_surface_bmesh(), blender::ed::sculpt_paint::brushes::sample_node_surface_grids(), blender::ed::sculpt_paint::brushes::sample_node_surface_mesh(), blender::ed::sculpt_paint::sculpt_geometry_preview_lines_draw(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), blender::ed::sculpt_paint::dyntopo::stroke_is_dyntopo(), blender::ed::sculpt_paint::vwpaint::test_brush_angle_falloff(), blender::ed::sculpt_paint::image::ops::paint::texture_paint_init(), blender::ed::greasepencil::toggle_weight_tool_direction_exec(), ui_do_but_COLOR(), blender::ed::sculpt_paint::update_sculpt_normal(), blender::ed::sculpt_paint::vwpaint::use_normal(), vpaint_blend(), vpaint_init_vpaint(), and wpaint_stroke_test_start().

◆ flag2

◆ flow

float Brush::flow

Flow

Definition at line 239 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update().

◆ gpencil_brush_type

◆ gpencil_sculpt_brush_type

char Brush::gpencil_sculpt_brush_type

◆ gpencil_settings

◆ gpencil_vertex_brush_type

char Brush::gpencil_vertex_brush_type

◆ gpencil_weight_brush_type

◆ gradient

◆ gradient_fill_mode

char Brush::gradient_fill_mode

Source for fill brush color gradient application.

Definition at line 274 of file DNA_brush_types.h.

Referenced by do_projectpaint_thread(), and paint_2d_gradient_fill().

◆ gradient_spacing

int Brush::gradient_spacing

◆ gradient_stroke_mode

char Brush::gradient_stroke_mode

Source for stroke color gradient application.

Definition at line 272 of file DNA_brush_types.h.

Referenced by brush_painter_2d_refresh_cache(), blender::ed::sculpt_paint::color::do_paint_brush_task(), and paint_brush_color_get().

◆ hardness

float Brush::hardness

Hardness

Definition at line 237 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update().

◆ has_unsaved_changes

char Brush::has_unsaved_changes

Tag to indicate to the user that the brush has been changed since being imported. Only set for brushes that are actually imported (must have ID.lib set). Runtime only.

Definition at line 280 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::brush_asset_save_as_exec(), blender::ed::sculpt_paint::brush_asset_save_exec(), and brush_blend_read_data().

◆ height

float Brush::height

Affectable height of brush (layer height for layer tool, i.e.).

Definition at line 322 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::SCULPT_layer_brush_height_preview_draw().

◆ hsv_jitter

float Brush::hsv_jitter[3]

Definition at line 223 of file DNA_brush_types.h.

Referenced by do_version_convert_gp_jitter_values().

◆ id

ID Brush::id

Definition at line 173 of file DNA_brush_types.h.

Referenced by asset_reference_create_from_brush(), BKE_brush_duplicate(), BKE_paint_brush_set(), BKE_paint_eraser_brush_set(), blender::ed::sculpt_paint::brush_asset_delete_exec(), blender::ed::sculpt_paint::brush_asset_delete_poll(), blender::ed::sculpt_paint::brush_asset_edit_metadata_exec(), blender::ed::sculpt_paint::brush_asset_edit_metadata_poll(), blender::ed::sculpt_paint::brush_asset_load_preview_exec(), blender::ed::sculpt_paint::brush_asset_revert_exec(), blender::ed::sculpt_paint::brush_asset_revert_poll(), blender::ed::sculpt_paint::brush_asset_save_as_exec(), blender::ed::sculpt_paint::brush_asset_save_exec(), blender::ed::sculpt_paint::brush_asset_save_poll(), brush_blend_write(), brush_copy_data(), brush_init_data(), brush_make_local(), buttons_texture_users_from_context(), blender::ed::sculpt_paint::get_asset_library_reference(), blender::ed::greasepencil::grease_pencil_primitive_cancel_opacity(), blender::ed::greasepencil::grease_pencil_primitive_cancel_radius(), blender::ed::greasepencil::grease_pencil_primitive_change_opacity(), blender::ed::greasepencil::grease_pencil_primitive_change_radius(), blender::ed::greasepencil::grease_pencil_primitive_init_opacity(), blender::ed::greasepencil::grease_pencil_primitive_init_radius(), paint_brush_update_from_asset_reference(), paint_eraser_brush_set_from_asset_reference(), paintcurve_for_brush_add(), TEST_F(), TEST_F(), toolsystem_main_brush_binding_update_from_active(), and ui_do_but_COLOR().

◆ image_brush_type

◆ input_samples

int Brush::input_samples

Number of samples used to smooth the stroke.

Definition at line 202 of file DNA_brush_types.h.

◆ jitter

float Brush::jitter

Jitter the position of the brush.

Definition at line 207 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::paint_stroke_use_jitter().

◆ jitter_absolute

int Brush::jitter_absolute

Absolute jitter in pixels.

Definition at line 209 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::paint_stroke_use_jitter().

◆ mask_mtex

◆ mask_overlay_alpha

int Brush::mask_overlay_alpha

◆ mask_pressure

int Brush::mask_pressure

Pressure influence for mask.

Definition at line 205 of file DNA_brush_types.h.

Referenced by BKE_brush_sample_masktex(), and brush_painter_2d_refresh_cache().

◆ mask_stencil_dimension

◆ mask_stencil_pos

◆ mask_tool

◆ mtex

◆ multiplane_scrape_angle

float Brush::multiplane_scrape_angle

◆ normal_radius_factor

◆ normal_weight

float Brush::normal_weight

◆ ob_mode

◆ overlay_flags

◆ paint_curve

◆ paint_flags

int Brush::paint_flags

◆ plane_depth

float Brush::plane_depth

◆ plane_height

float Brush::plane_height

◆ plane_inversion_mode

int Brush::plane_inversion_mode

◆ plane_offset

float Brush::plane_offset

Offset for plane brushes (clay, flatten, fill, scrape).

Definition at line 268 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::brush_plane_offset_get().

◆ plane_trim

float Brush::plane_trim

◆ pose_deform_type

◆ pose_ik_segments

int Brush::pose_ik_segments

◆ pose_offset

float Brush::pose_offset

◆ pose_origin_type

int Brush::pose_origin_type

Definition at line 360 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::pose::ik_chain_init().

◆ pose_smooth_iterations

int Brush::pose_smooth_iterations

Definition at line 358 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::pose::pose_brush_init().

◆ preview

PreviewImage* Brush::preview

◆ rake_factor

float Brush::rake_factor

Rake actual data (not texture), used for sculpt.

Definition at line 186 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::brush_delta_update(), and blender::ed::sculpt_paint::brush_needs_rake_rotation().

◆ rate

float Brush::rate

Paint operations / second (airbrush).

Definition at line 218 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::paint_stroke_modal().

◆ sampling_flag

int Brush::sampling_flag

◆ sculpt_brush_type

char Brush::sculpt_brush_type

Active sculpt brush type.

Definition at line 287 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::cloth::add_constraints_for_verts(), blender::ed::sculpt_paint::area_normal_and_center_get_position_radius(), BKE_paint_get_brush_type_from_obmode(), BKE_paint_get_brush_type_from_paintmode(), blender::ed::sculpt_paint::cloth::brush_affected_nodes_gather(), blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::brush_dynamic_size_get(), brush_strength(), brush_stroke_init(), blender::ed::sculpt_paint::brush_type_needs_all_pbvh_nodes(), blender::ed::sculpt_paint::brush_uses_vector_displacement(), blender::ed::sculpt_paint::calc_brush_node_mask(), blender::ed::sculpt_paint::calc_brush_plane(), blender::ed::sculpt_paint::auto_mask::calc_face_factors(), blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::cloth::cloth_brush_simulation_falloff_get(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::image_paint_brush_type_require_inbetween_mouse_events(), blender::ed::sculpt_paint::image_paint_brush_type_require_location(), image_paint_brush_uses_canvas(), blender::ed::sculpt_paint::cloth::is_cloth_deform_brush(), blender::ed::sculpt_paint::auto_mask::is_constrained_by_radius(), blender::ed::sculpt_paint::mask::mask_from_boundary_exec(), blender::ed::sculpt_paint::mask::mask_from_cavity_exec(), blender::ed::sculpt_paint::need_delta_for_tip_orientation(), blender::ed::sculpt_paint::need_delta_from_anchored_origin(), blender::ed::sculpt_paint::paint_cursor_cursor_draw_3d_view_brush_cursor_active(), blender::ed::sculpt_paint::paint_cursor_draw_3d_view_brush_cursor_inactive(), paint_rake_rotation_spacing(), blender::ed::sculpt_paint::paint_space_stroke_enabled(), blender::ed::sculpt_paint::pbvh_gather_generic(), blender::ed::sculpt_paint::push_undo_nodes(), blender::ed::sculpt_paint::undo::restore_from_undo_step(), restore_from_undo_step_if_necessary(), blender::ed::sculpt_paint::sculpt_brush_needs_normal(), blender::ed::sculpt_paint::sculpt_brush_stroke_invoke(), sculpt_brush_type_name(), blender::ed::sculpt_paint::sculpt_is_grab_tool(), blender::ed::sculpt_paint::sculpt_needs_connectivity_info(), sculpt_needs_pbvh_pixels(), SCULPT_stroke_modifiers_check(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), blender::ed::sculpt_paint::smooth_brush_toggle_off(), blender::ed::sculpt_paint::smooth_brush_toggle_on(), blender::ed::sculpt_paint::stroke_done(), blender::ed::sculpt_paint::stroke_test_start(), stroke_undo_begin(), stroke_undo_end(), blender::ed::sculpt_paint::stroke_update_step(), and blender::ed::sculpt_paint::update_sculpt_normal().

◆ sculpt_plane

◆ secondary_color

float Brush::secondary_color[3]

Background color.

Definition at line 254 of file DNA_brush_types.h.

Referenced by brush_colors_flip_exec(), and brush_foreach_working_space_color().

◆ sharp_threshold

float Brush::sharp_threshold

◆ size

◆ slide_deform_type

int Brush::slide_deform_type

Definition at line 393 of file DNA_brush_types.h.

◆ smear_deform_type

int Brush::smear_deform_type

◆ smooth_deform_type

int Brush::smooth_deform_type

Definition at line 381 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::do_brush_action().

◆ smooth_stroke_factor

float Brush::smooth_stroke_factor

Higher values limit fast changes in the stroke direction.

Definition at line 216 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::paint_smooth_stroke().

◆ smooth_stroke_radius

int Brush::smooth_stroke_radius

Turning radius (in pixels) for smooth stroke.

Definition at line 214 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::paint_smooth_stroke().

◆ snake_hook_deform_type

int Brush::snake_hook_deform_type

◆ spacing

◆ stabilize_normal

float Brush::stabilize_normal

Definition at line 327 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::calc_stabilized_plane().

◆ stabilize_plane

float Brush::stabilize_plane

Definition at line 328 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::calc_stabilized_plane().

◆ stencil_dimension

◆ stencil_pos

◆ sub_col

float Brush::sub_col[4]

◆ surface_smooth_current_vertex

float Brush::surface_smooth_current_vertex

Definition at line 383 of file DNA_brush_types.h.

◆ surface_smooth_iterations

int Brush::surface_smooth_iterations

Definition at line 384 of file DNA_brush_types.h.

◆ surface_smooth_shape_preservation

float Brush::surface_smooth_shape_preservation

Definition at line 382 of file DNA_brush_types.h.

◆ texture_overlay_alpha

int Brush::texture_overlay_alpha

◆ texture_sample_bias

float Brush::texture_sample_bias

◆ tilt_strength_factor

◆ tip_roundness

◆ tip_scale_x

◆ topology_rake_factor

float Brush::topology_rake_factor

◆ unprojected_size

◆ vertex_brush_type

◆ weight

float Brush::weight

Brush weight.

Definition at line 193 of file DNA_brush_types.h.

Referenced by paint_proj_stroke_ps(), and palette_color_add_exec().

◆ weight_brush_type

◆ wet_mix

float Brush::wet_mix

Wet Mix

Definition at line 241 of file DNA_brush_types.h.

Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update().

◆ wet_paint_radius_factor

float Brush::wet_paint_radius_factor

◆ wet_persistence

float Brush::wet_persistence

The documentation for this struct was generated from the following file: