|
Blender V5.3
|
#include <DNA_brush_types.h>
Definition at line 175 of file DNA_brush_types.h.
| char blender::Brush::_pad[7] = {} |
Definition at line 214 of file DNA_brush_types.h.
| char blender::Brush::_pad1[2] = {} |
Definition at line 324 of file DNA_brush_types.h.
| char blender::Brush::_pad2[3] = {} |
Definition at line 420 of file DNA_brush_types.h.
| char blender::Brush::_pad3[4] = {} |
Definition at line 457 of file DNA_brush_types.h.
| float blender::Brush::add_col[4] = {1.0, 0.39, 0.39, 0.9} |
Definition at line 438 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_draw(), and blender::ed::sculpt_paint::paint_cursor_context_init().
| float blender::Brush::alpha = 1.0f |
Opacity.
Definition at line 252 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_270(), blender::blo_do_versions_300(), and blender::gradientVert_update().
| float blender::Brush::area_radius_factor = 0.5f |
Definition at line 335 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280().
| DNA_DEPRECATED int blender::Brush::automasking_boundary_edges_propagation_steps = 1 |
Definition at line 365 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280().
| DNA_DEPRECATED int blender::Brush::automasking_cavity_blur_steps = 0 |
Definition at line 450 of file DNA_brush_types.h.
| DNA_DEPRECATED struct CurveMapping* blender::Brush::automasking_cavity_curve = nullptr |
Definition at line 453 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data().
| DNA_DEPRECATED float blender::Brush::automasking_cavity_factor = 1.0f |
Definition at line 451 of file DNA_brush_types.h.
| DNA_DEPRECATED int blender::Brush::automasking_flags = 0 |
Definition at line 364 of file DNA_brush_types.h.
| DNA_DEPRECATED float blender::Brush::automasking_start_normal_falloff = 0.25f |
Definition at line 368 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_401().
| DNA_DEPRECATED float blender::Brush::automasking_start_normal_limit = 0.34906585f |
Definition at line 367 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_401().
| DNA_DEPRECATED float blender::Brush::automasking_view_normal_falloff = 0.25f |
Definition at line 370 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_401().
| DNA_DEPRECATED float blender::Brush::automasking_view_normal_limit = 1.570796 |
Definition at line 369 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_401().
| float blender::Brush::autosmooth_factor = 0.0f |
Definition at line 326 of file DNA_brush_types.h.
| short blender::Brush::blend = 0 |
Blend mode.
Definition at line 198 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::expand::cache_initial_config_set(), blender::gradientVert_update(), blender::paint_2d_bucket_fill(), blender::paint_2d_gradient_fill(), and blender::paint_2d_stroke().
| int blender::Brush::blur_kernel_radius = 2 |
Definition at line 432 of file DNA_brush_types.h.
Referenced by blender::paint_new_blur_kernel().
| eBlurKernelType blender::Brush::blur_mode = KERNEL_GAUSSIAN |
Definition at line 433 of file DNA_brush_types.h.
Referenced by blender::paint_new_blur_kernel().
| eBrushBoundaryDeformType blender::Brush::boundary_deform_type = BRUSH_BOUNDARY_DEFORM_BEND |
Definition at line 386 of file DNA_brush_types.h.
| eBrushBoundaryFalloffType blender::Brush::boundary_falloff_type = BRUSH_BOUNDARY_FALLOFF_CONSTANT |
Definition at line 387 of file DNA_brush_types.h.
| float blender::Brush::boundary_offset = 0 |
Definition at line 388 of file DNA_brush_types.h.
| float blender::Brush::cloth_constraint_softbody_strength = 0 |
Definition at line 401 of file DNA_brush_types.h.
| float blender::Brush::cloth_damping = 0.01 |
Definition at line 396 of file DNA_brush_types.h.
| eBrushClothDeformType blender::Brush::cloth_deform_type = BRUSH_CLOTH_DEFORM_DRAG |
Definition at line 391 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::sculpt_is_grab_tool().
| eBrushClothForceFalloffType blender::Brush::cloth_force_falloff_type = BRUSH_CLOTH_FORCE_FALLOFF_RADIAL |
Definition at line 392 of file DNA_brush_types.h.
| float blender::Brush::cloth_mass = 1 |
Definition at line 395 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280().
| float blender::Brush::cloth_sim_falloff = 0.75f |
Definition at line 399 of file DNA_brush_types.h.
| float blender::Brush::cloth_sim_limit = 2.5f |
Definition at line 398 of file DNA_brush_types.h.
| eBrushClothSimulationAreaType blender::Brush::cloth_simulation_area_type = BRUSH_CLOTH_SIMULATION_AREA_LOCAL |
Definition at line 393 of file DNA_brush_types.h.
| float blender::Brush::color[3] = {1.0f, 1.0f, 1.0f} |
Color.
Definition at line 235 of file DNA_brush_types.h.
Referenced by blender::brush_colors_flip_exec(), and blender::ed::sculpt_paint::greasepencil::create_fill_guide_brush().
| eBrushColorJitterSettings_Flag blender::Brush::color_jitter_flag = {} |
Definition at line 236 of file DNA_brush_types.h.
| float blender::Brush::crease_pinch_factor = 0.5f |
Definition at line 332 of file DNA_brush_types.h.
| int blender::Brush::cursor_overlay_alpha = 33 |
Definition at line 426 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_draw().
| struct CurveMapping* blender::Brush::curve_auto_smooth = nullptr |
Definition at line 248 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data().
| struct CurveMapping* blender::Brush::curve_distance_falloff = nullptr |
Definition at line 184 of file DNA_brush_types.h.
Referenced by blender::BKE_brush_curve_strength(), blender::BKE_brush_gen_radial_control_imbuf(), blender::brush_copy_data(), blender::ed::sculpt_paint::expand::cache_initial_config_set(), blender::ed::sculpt_paint::greasepencil::WeightPaintOperation::get_brush_settings(), blender::ed::sculpt_paint::load_tex_cursor(), and blender::radial_control_paint_curve().
| eBrushCurvePreset blender::Brush::curve_distance_falloff_preset = BRUSH_CURVE_CUSTOM |
This preset is used to specify an exact function used for the distance falloff instead of doing a Bezier spline evaluation via CurveMapping for performance reasons.
Definition at line 356 of file DNA_brush_types.h.
Referenced by blender::BKE_brush_curve_strength(), blender::blo_do_versions_300(), and blender::ed::sculpt_paint::load_tex_cursor().
| struct CurveMapping* blender::Brush::curve_hardness = nullptr |
Definition at line 247 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data().
| struct CurveMapping* blender::Brush::curve_jitter = nullptr |
Definition at line 246 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data().
| struct CurveMapping* blender::Brush::curve_rand_hue = nullptr |
Color jitter pressure curves.
Definition at line 240 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data(), blender::ed::sculpt_paint::greasepencil::create_fill_guide_brush(), blender::ed::greasepencil::grease_pencil_primitive_invoke(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::test_start(), blender::ed::sculpt_paint::SculptPaintStroke::test_start(), and blender::VertexPaintStroke::test_start().
| struct CurveMapping* blender::Brush::curve_rand_saturation = nullptr |
Definition at line 241 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data(), blender::ed::sculpt_paint::greasepencil::create_fill_guide_brush(), blender::ed::greasepencil::grease_pencil_primitive_invoke(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::test_start(), blender::ed::sculpt_paint::SculptPaintStroke::test_start(), and blender::VertexPaintStroke::test_start().
| struct CurveMapping* blender::Brush::curve_rand_value = nullptr |
Definition at line 242 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data(), blender::ed::sculpt_paint::greasepencil::create_fill_guide_brush(), blender::ed::greasepencil::grease_pencil_primitive_invoke(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::test_start(), blender::ed::sculpt_paint::SculptPaintStroke::test_start(), and blender::VertexPaintStroke::test_start().
| struct CurveMapping* blender::Brush::curve_size = nullptr |
Definition at line 244 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data().
| struct CurveMapping* blender::Brush::curve_spacing = nullptr |
Definition at line 249 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data().
| struct CurveMapping* blender::Brush::curve_strength = nullptr |
Definition at line 245 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::update_step(), and blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::update_step().
| eBrushCurvesSculptType blender::Brush::curves_sculpt_brush_type = CURVES_SCULPT_BRUSH_TYPE_COMB |
Active curves sculpt brush type.
Definition at line 322 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::paint_space_stroke_enabled().
| struct BrushCurvesSculptSettings* blender::Brush::curves_sculpt_settings = nullptr |
Definition at line 448 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data(), blender::ed::sculpt_paint::min_distance_edit::calculate_points_per_side(), blender::ed::sculpt_paint::CombOperationExecutor::comb_projected(), blender::ed::sculpt_paint::CombOperationExecutor::comb_spherical(), blender::ed::sculpt_paint::AddOperationExecutor::execute(), blender::ed::sculpt_paint::DensityAddOperationExecutor::execute(), blender::ed::sculpt_paint::DensitySubtractOperationExecutor::execute(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_draw(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke(), and blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_modal().
| float blender::Brush::dash_ratio = 1.0f |
Rate
Definition at line 278 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280().
| int blender::Brush::dash_samples = 20 |
Definition at line 279 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280().
| eBrushDeformTarget blender::Brush::deform_target = BRUSH_DEFORM_TARGET_GEOMETRY |
Definition at line 361 of file DNA_brush_types.h.
| float blender::Brush::density = 0 |
Density
Definition at line 261 of file DNA_brush_types.h.
| float blender::Brush::disconnected_distance_max = 0.1f |
Definition at line 359 of file DNA_brush_types.h.
| eBrushElasticDeformType blender::Brush::elastic_deform_type = BRUSH_ELASTIC_DEFORM_GRAB |
Definition at line 372 of file DNA_brush_types.h.
| float blender::Brush::elastic_deform_volume_preservation = 0 |
Definition at line 373 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280().
| float blender::Brush::falloff_angle_legacy = 0 |
Definition at line 301 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_270().
| eBrushFalloffShape blender::Brush::falloff_shape = PAINT_FALLOFF_SHAPE_SPHERE |
Projection shape (sphere, circle).
Definition at line 300 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::CutOperationExecutor::cut_curves(), blender::ed::sculpt_paint::AddOperationExecutor::execute(), blender::ed::sculpt_paint::CombOperationExecutor::execute(), blender::ed::sculpt_paint::CurvesEffectOperationExecutor::execute(), blender::ed::sculpt_paint::CutOperationExecutor::execute(), blender::ed::sculpt_paint::DeleteOperationExecutor::execute(), blender::ed::sculpt_paint::DensityAddOperationExecutor::execute(), blender::ed::sculpt_paint::DensitySubtractOperationExecutor::execute(), blender::ed::sculpt_paint::PinchOperationExecutor::execute(), blender::ed::sculpt_paint::PuffOperationExecutor::execute(), blender::ed::sculpt_paint::SelectionPaintOperationExecutor::execute(), blender::ed::sculpt_paint::SmoothOperationExecutor::execute(), blender::ed::sculpt_paint::SnakeHookOperatorExecutor::execute(), blender::ed::sculpt_paint::auto_mask::is_constrained_by_radius(), and blender::ed::sculpt_paint::mesh_cursor_update_and_init().
| float blender::Brush::fill_threshold = 0.2f |
Definition at line 436 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_270(), and blender::paint_2d_bucket_fill().
| eBrushFlags blender::Brush::flag = BRUSH_ALPHA_PRESSURE | BRUSH_SPACE_ATTEN |
General purpose flags.
Definition at line 206 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_270(), blender::blo_do_versions_300(), blender::ed::sculpt_paint::greasepencil::create_fill_guide_brush(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::done(), blender::ed::sculpt_paint::AddOperationExecutor::execute(), blender::ed::sculpt_paint::PaintStroke::modal(), blender::ed::sculpt_paint::greasepencil::DrawWeightPaintOperation::on_stroke_begin(), blender::paint_2d_do_making_brush(), blender::paint_2d_lift_soften(), blender::paint_brush_color_get(), blender::ed::sculpt_paint::paint_cursor_context_init(), blender::ed::sculpt_paint::paint_stroke_integrate_overlap(), blender::ed::sculpt_paint::paint_supports_dynamic_size(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::update_step(), and blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::update_step().
| eBrushFlags2 blender::Brush::flag2 = {} |
Definition at line 207 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280().
| float blender::Brush::flow = 0 |
Flow
Definition at line 256 of file DNA_brush_types.h.
| eBrushGPaintType blender::Brush::gpencil_brush_type = GPAINT_BRUSH_TYPE_DRAW |
Active grease pencil brush type.
Definition at line 314 of file DNA_brush_types.h.
| eBrushGPSculptType blender::Brush::gpencil_sculpt_brush_type = GPSCULPT_BRUSH_TYPE_SMOOTH |
Active grease pencil sculpt brush type.
Definition at line 318 of file DNA_brush_types.h.
| struct BrushGpencilSettings* blender::Brush::gpencil_settings = nullptr |
Definition at line 447 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data(), blender::ed::sculpt_paint::greasepencil::create_fill_guide_brush(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::execute(), blender::ed::greasepencil::grease_pencil_primitive_invoke(), blender::ed::sculpt_paint::greasepencil::PaintOperationExecutor::PaintOperationExecutor(), and blender::TEST_F().
| eBrushGPVertexType blender::Brush::gpencil_vertex_brush_type = GPVERTEX_BRUSH_TYPE_DRAW |
Active grease pencil vertex brush type.
Definition at line 316 of file DNA_brush_types.h.
| eBrushGPWeightType blender::Brush::gpencil_weight_brush_type = GPWEIGHT_BRUSH_TYPE_DRAW |
Active grease pencil weight brush type.
Definition at line 320 of file DNA_brush_types.h.
Color gradient.
Definition at line 190 of file DNA_brush_types.h.
Referenced by blender::paint_2d_gradient_fill(), and blender::paint_brush_color_get().
| eBrushGradientSourceFill blender::Brush::gradient_fill_mode = BRUSH_GRADIENT_LINEAR |
Source for fill brush color gradient application.
Definition at line 291 of file DNA_brush_types.h.
Referenced by blender::paint_2d_gradient_fill().
| int blender::Brush::gradient_spacing = 0 |
Definition at line 287 of file DNA_brush_types.h.
Referenced by blender::paint_brush_color_get().
| eBrushGradientSourceStroke blender::Brush::gradient_stroke_mode = BRUSH_GRADIENT_PRESSURE |
Source for stroke color gradient application.
Definition at line 289 of file DNA_brush_types.h.
Referenced by blender::paint_brush_color_get().
| float blender::Brush::hardness = 0.0f |
Hardness
Definition at line 254 of file DNA_brush_types.h.
| char blender::Brush::has_unsaved_changes = 0 |
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 297 of file DNA_brush_types.h.
| float blender::Brush::height = 0 |
Affectable height of brush (layer height for layer tool, i.e.).
Definition at line 340 of file DNA_brush_types.h.
| float blender::Brush::hsv_jitter[3] = {} |
Definition at line 237 of file DNA_brush_types.h.
| ID blender::Brush::id |
Definition at line 182 of file DNA_brush_types.h.
Referenced by blender::BKE_brush_duplicate(), blender::ed::sculpt_paint::brush_asset_save_as_exec(), blender::brush_copy_data(), blender::brush_make_local(), 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(), blender::TEST_F(), and blender::TEST_F().
| eBrushImagePaintType blender::Brush::image_brush_type = IMAGE_PAINT_BRUSH_TYPE_DRAW |
Active image paint brush type.
Definition at line 310 of file DNA_brush_types.h.
Referenced by blender::brush_colors_flip_poll(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::done(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::done(), blender::ED_paint_proj_mesh_data_check(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::ExperimentalTexturePaintStroke(), blender::ed::sculpt_paint::paint_cursor_is_brush_cursor_enabled(), blender::paint_proj_new_stroke(), blender::ed::sculpt_paint::paint_supports_dynamic_size(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::test_start(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::update_step(), and blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::update_step().
| int blender::Brush::input_samples = 1 |
Number of samples used to smooth the stroke.
Definition at line 216 of file DNA_brush_types.h.
| float blender::Brush::jitter = 0.0f |
Jitter the position of the brush.
Definition at line 221 of file DNA_brush_types.h.
| int blender::Brush::jitter_absolute = 0 |
Absolute jitter in pixels.
Definition at line 223 of file DNA_brush_types.h.
| struct MTex blender::Brush::mask_mtex |
Definition at line 186 of file DNA_brush_types.h.
Referenced by blender::BKE_brush_sample_masktex(), blender::blo_do_versions_270(), blender::brush_gen_texture(), blender::ed::sculpt_paint::load_tex(), blender::ed::sculpt_paint::PaintStroke::modal(), blender::stencil_control_invoke(), blender::stencil_control_poll(), blender::stencil_fit_image_aspect_exec(), blender::stencil_reset_transform_exec(), and blender::stencil_set_target().
| int blender::Brush::mask_overlay_alpha = 33 |
Definition at line 425 of file DNA_brush_types.h.
| BrushMaskPressureFlags blender::Brush::mask_pressure = {} |
Pressure influence for mask.
Definition at line 219 of file DNA_brush_types.h.
Referenced by blender::BKE_brush_sample_masktex().
| float blender::Brush::mask_stencil_dimension[2] = {256, 256} |
Definition at line 445 of file DNA_brush_types.h.
Referenced by blender::BKE_brush_sample_masktex(), blender::blo_do_versions_404(), blender::stencil_fit_image_aspect_exec(), blender::stencil_reset_transform_exec(), and blender::stencil_set_target().
| float blender::Brush::mask_stencil_pos[2] = {256, 256} |
Definition at line 444 of file DNA_brush_types.h.
Referenced by blender::BKE_brush_sample_masktex(), blender::blo_do_versions_404(), blender::stencil_reset_transform_exec(), and blender::stencil_set_target().
| BrushMaskTool blender::Brush::mask_tool = BRUSH_MASK_DRAW |
Enum eBrushMaskTool, only used if sculpt_brush_type is SCULPT_BRUSH_TYPE_MASK.
Definition at line 312 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::mask_brush_toggle_on(), and blender::ed::sculpt_paint::smooth_brush_toggle_on().
| struct MeshAutomaskingSettings* blender::Brush::mesh_automasking_settings = nullptr |
Definition at line 454 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data(), blender::ed::sculpt_paint::mask::mask_from_boundary_exec(), blender::ed::sculpt_paint::mask::mask_from_cavity_exec(), and blender::ed::sculpt_paint::auto_mask::mode_enabled().
| float blender::Brush::minimum_distance = 0.0f |
Definition at line 421 of file DNA_brush_types.h.
| struct MTex blender::Brush::mtex |
Definition at line 185 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_260(), blender::blo_do_versions_270(), blender::brush_gen_texture(), blender::give_current_brush_texture(), blender::ed::sculpt_paint::load_tex(), blender::ed::sculpt_paint::PaintStroke::modal(), blender::ed::sculpt_paint::PaintStroke::PaintStroke(), blender::project_paint_face_init(), blender::project_paint_uvpixel_init(), blender::set_current_brush_texture(), blender::stencil_control_invoke(), blender::stencil_control_poll(), blender::stencil_fit_image_aspect_exec(), blender::stencil_reset_transform_exec(), blender::stencil_set_target(), and blender::TEST_F().
| float blender::Brush::multiplane_scrape_angle = 0 |
Definition at line 410 of file DNA_brush_types.h.
| float blender::Brush::normal_radius_factor = 0.5f |
Definition at line 334 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280().
| float blender::Brush::normal_weight = 0.0f |
Definition at line 193 of file DNA_brush_types.h.
| short blender::Brush::ob_mode = OB_MODE_ALL_PAINT_MESH |
eObjectMode: to see if the brush is compatible, use for display only.
Definition at line 200 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_250(), blender::blo_do_versions_260(), blender::blo_do_versions_270(), blender::blo_do_versions_280(), blender::ed::sculpt_paint::greasepencil::create_fill_guide_brush(), and blender::do_versions_after_linking_290().
| eOverlayFlags blender::Brush::overlay_flags = {} |
Definition at line 224 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::PaintStroke::PaintStroke().
| struct PaintCurve* blender::Brush::paint_curve = nullptr |
Definition at line 191 of file DNA_brush_types.h.
Referenced by blender::ed::transform::calculateCenterActive(), blender::ed::transform::createTransPaintCurveVerts(), blender::paintcurve_delete_point_exec(), blender::paintcurve_point_add(), blender::paintcurve_point_select(), blender::paintcurve_slide_invoke(), blender::TEST_F(), and blender::TEST_F().
| ePaintBrush_flag blender::Brush::paint_flags = {} |
Definition at line 262 of file DNA_brush_types.h.
| float blender::Brush::plane_depth = 0 |
Definition at line 344 of file DNA_brush_types.h.
| float blender::Brush::plane_height = 0 |
Definition at line 343 of file DNA_brush_types.h.
| eBrushPlaneInversionMode blender::Brush::plane_inversion_mode = BRUSH_PLANE_INVERT_DISPLACEMENT |
Definition at line 347 of file DNA_brush_types.h.
| float blender::Brush::plane_offset = 0.0f |
Offset for plane brushes (clay, flatten, fill, scrape).
Definition at line 285 of file DNA_brush_types.h.
| float blender::Brush::plane_trim = 0.5f |
Definition at line 338 of file DNA_brush_types.h.
| eBrushPoseDeformType blender::Brush::pose_deform_type = BRUSH_POSE_DEFORM_ROTATE_TWIST |
Definition at line 379 of file DNA_brush_types.h.
| int blender::Brush::pose_ik_segments = 1 |
Definition at line 382 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280().
| float blender::Brush::pose_offset = 0 |
Definition at line 380 of file DNA_brush_types.h.
| eBrushPoseOriginType blender::Brush::pose_origin_type = BRUSH_POSE_ORIGIN_TOPOLOGY |
Definition at line 383 of file DNA_brush_types.h.
| int blender::Brush::pose_smooth_iterations = 4 |
Definition at line 381 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280().
| PreviewImage* blender::Brush::preview = nullptr |
Definition at line 188 of file DNA_brush_types.h.
Referenced by blender::brush_copy_data().
| eBrushProjectRayDirection blender::Brush::project_ray_direction_type = BRUSH_PROJECT_RAY_DIRECTION_VIEW_NORMAL |
Definition at line 419 of file DNA_brush_types.h.
| float blender::Brush::rake_factor = 0 |
Rake actual data (not texture), used for sculpt.
Definition at line 195 of file DNA_brush_types.h.
| float blender::Brush::rate = 0.1f |
Paint operations / second (airbrush).
Definition at line 232 of file DNA_brush_types.h.
| DNA_DEPRECATED float blender::Brush::rgb[3] = {1.0f, 1.0f, 1.0f} |
Definition at line 274 of file DNA_brush_types.h.
| eBrushSamplingFlags blender::Brush::sampling_flag = BRUSH_PAINT_ANTIALIASING |
Definition at line 208 of file DNA_brush_types.h.
| eBrushSculptType blender::Brush::sculpt_brush_type = SCULPT_BRUSH_TYPE_DRAW |
Active sculpt brush type.
Definition at line 304 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_270(), blender::blo_do_versions_280(), blender::blo_do_versions_300(), blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_interpolated_face_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::SculptPaintStroke::done(), blender::ed::sculpt_paint::auto_mask::is_constrained_by_radius(), blender::ed::sculpt_paint::mask_brush_toggle_on(), blender::ed::sculpt_paint::mask::mask_from_boundary_exec(), blender::ed::sculpt_paint::mask::mask_from_cavity_exec(), blender::ed::sculpt_paint::paint_space_stroke_enabled(), blender::ed::sculpt_paint::sculpt_is_grab_tool(), blender::ed::sculpt_paint::smooth_brush_toggle_on(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::test_start(), blender::ed::sculpt_paint::SculptPaintStroke::test_start(), and blender::ed::sculpt_paint::SculptPaintStroke::update_step().
| eBrushSculpt_DispDir blender::Brush::sculpt_plane = SCULPT_DISP_DIR_AREA |
The direction of movement for sculpt vertices.
Definition at line 282 of file DNA_brush_types.h.
| float blender::Brush::secondary_color[3] = {0, 0, 0} |
Background color.
Definition at line 271 of file DNA_brush_types.h.
Referenced by blender::brush_colors_flip_exec().
| DNA_DEPRECATED float blender::Brush::secondary_rgb[3] = {0, 0, 0} |
Definition at line 275 of file DNA_brush_types.h.
| float blender::Brush::sharp_threshold = 0 |
Definition at line 431 of file DNA_brush_types.h.
Referenced by blender::do_projectpaint_soften(), blender::do_projectpaint_soften_f(), and blender::paint_2d_lift_soften().
| int blender::Brush::size = 70 |
Brush diameter.
Definition at line 204 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::greasepencil::create_fill_guide_brush().
| eBrushSlideDeformType blender::Brush::slide_deform_type = BRUSH_SLIDE_DEFORM_DRAG |
Definition at line 416 of file DNA_brush_types.h.
| eBrushSmearDeformType blender::Brush::smear_deform_type = BRUSH_SMEAR_DEFORM_DRAG |
Definition at line 413 of file DNA_brush_types.h.
| eBrushSmoothDeformType blender::Brush::smooth_deform_type = BRUSH_SMOOTH_DEFORM_LAPLACIAN |
Definition at line 404 of file DNA_brush_types.h.
| float blender::Brush::smooth_stroke_factor = 0.9f |
Higher values limit fast changes in the stroke direction.
Definition at line 230 of file DNA_brush_types.h.
| int blender::Brush::smooth_stroke_radius = 75 |
Turning radius (in pixels) for smooth stroke.
Definition at line 228 of file DNA_brush_types.h.
| eBrushSnakeHookDeformType blender::Brush::snake_hook_deform_type = BRUSH_SNAKE_HOOK_DEFORM_FALLOFF |
Definition at line 376 of file DNA_brush_types.h.
| int blender::Brush::spacing = 10 |
Spacing of paint operations.
Definition at line 226 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_300(), blender::ed::sculpt_paint::greasepencil::create_fill_guide_brush(), blender::ed::sculpt_paint::paint_stroke_integrate_overlap(), and blender::ed::sculpt_paint::greasepencil::PaintOperationExecutor::process_extension_sample().
| float blender::Brush::stabilize_normal = 0 |
Definition at line 345 of file DNA_brush_types.h.
| float blender::Brush::stabilize_plane = 0 |
Definition at line 346 of file DNA_brush_types.h.
| float blender::Brush::stencil_dimension[2] = {256, 256} |
Definition at line 442 of file DNA_brush_types.h.
Referenced by blender::BKE_brush_sample_tex_3d(), blender::stencil_fit_image_aspect_exec(), blender::stencil_reset_transform_exec(), and blender::stencil_set_target().
| float blender::Brush::stencil_pos[2] = {256, 256} |
Definition at line 441 of file DNA_brush_types.h.
Referenced by blender::BKE_brush_sample_tex_3d(), blender::stencil_reset_transform_exec(), and blender::stencil_set_target().
| eBrushStrokeType blender::Brush::stroke_method = BRUSH_STROKE_SPACE |
How the stroke behaves when used via the modal operators.
Definition at line 213 of file DNA_brush_types.h.
Referenced by blender::ED_space_image_paint_curve(), blender::ed::sculpt_paint::PaintStroke::modal(), blender::ed::sculpt_paint::paint_cursor_context_init(), blender::ed::sculpt_paint::paint_space_stroke_enabled(), blender::ed::sculpt_paint::paint_supports_dynamic_size(), blender::ed::sculpt_paint::paint_supports_dynamic_tex_coords(), blender::ed::sculpt_paint::PaintStroke::PaintStroke(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::update_step(), and blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::update_step().
| float blender::Brush::sub_col[4] = {0.39, 0.39, 1.0, 0.9} |
Definition at line 439 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280(), and blender::ed::sculpt_paint::paint_cursor_context_init().
| float blender::Brush::surface_smooth_current_vertex = 0 |
Definition at line 406 of file DNA_brush_types.h.
| int blender::Brush::surface_smooth_iterations = 0 |
Definition at line 407 of file DNA_brush_types.h.
| float blender::Brush::surface_smooth_shape_preservation = 0 |
Definition at line 405 of file DNA_brush_types.h.
| int blender::Brush::texture_overlay_alpha = 33 |
Definition at line 424 of file DNA_brush_types.h.
| float blender::Brush::texture_sample_bias = 0 |
Definition at line 349 of file DNA_brush_types.h.
Referenced by blender::BKE_brush_sample_tex_3d(), and blender::ed::sculpt_paint::load_tex_task_cb_ex().
| float blender::Brush::tilt_strength_factor = 0 |
Definition at line 328 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cursor_space_drawing_setup().
| float blender::Brush::tip_roundness = 1.0f |
Tip Shape
Definition at line 267 of file DNA_brush_types.h.
Referenced by blender::blo_do_versions_280(), blender::ed::sculpt_paint::inactive_cursor_draw(), blender::ed::sculpt_paint::main_inactive_cursor_draw(), and blender::radial_control_paint_cursor().
| float blender::Brush::tip_scale_x = 1.0f |
Definition at line 268 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::inactive_cursor_draw(), blender::ed::sculpt_paint::main_inactive_cursor_draw(), and blender::radial_control_paint_cursor().
| float blender::Brush::topology_rake_factor = 0.0f |
Definition at line 330 of file DNA_brush_types.h.
| eBrushUnifiedPaintFlags blender::Brush::unified_paint_flags |
Definition at line 455 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::greasepencil::create_fill_guide_brush().
| float blender::Brush::unprojected_size = 0.10f |
Definition at line 428 of file DNA_brush_types.h.
| eBrushVertexPaintType blender::Brush::vertex_brush_type = VPAINT_BRUSH_TYPE_DRAW |
Active vertex paint.
Definition at line 306 of file DNA_brush_types.h.
Referenced by blender::VertexPaintStroke::update_step().
| float blender::Brush::weight = 1.0f |
Brush weight.
Definition at line 202 of file DNA_brush_types.h.
| eBrushWeightPaintType blender::Brush::weight_brush_type = WPAINT_BRUSH_TYPE_DRAW |
Active weight paint.
Definition at line 308 of file DNA_brush_types.h.
Referenced by blender::WeightPaintStroke::test_start().
| float blender::Brush::wet_mix = 0 |
Wet Mix
Definition at line 258 of file DNA_brush_types.h.
| float blender::Brush::wet_paint_radius_factor = 0.5f |
Definition at line 336 of file DNA_brush_types.h.
Referenced by blender::do_versions_after_linking_290().
| float blender::Brush::wet_persistence = 0 |
Definition at line 259 of file DNA_brush_types.h.