|
Blender V5.3
|
#include <DNA_scene_types.h>
Public Attributes | |
| struct Brush * | brush = nullptr |
| struct AssetWeakReference * | brush_asset_reference = nullptr |
| ToolSystemBrushBindings | tool_brush_bindings |
| struct Palette * | palette = nullptr |
| struct CurveMapping * | cavity_curve = nullptr |
| ePaintFlags | flags = PAINT_SHOW_BRUSH |
| ePaintDebugFlags | debug_flags = {} |
| int | num_input_samples_deprecated = 0 |
| ePaintSymmetryFlags | symmetry_flags = PAINT_SYMMETRY_FEATHER |
| PaintCurveVisibilityFlags | curve_visibility_flags = {} |
| float | tile_offset [3] = {1.0f, 1.0f, 1.0f} |
| struct UnifiedPaintSettings | unified_paint_settings |
| struct MeshAutomaskingSettings * | mesh_automasking_settings = nullptr |
| bke::PaintRuntime * | runtime = nullptr |
Definition at line 1229 of file DNA_scene_types.h.
The active brush. Possibly null. Possibly stored in a separate Main data-base and not user- counted.
Definition at line 1236 of file DNA_scene_types.h.
Referenced by blender::BKE_paint_canvas_key_get(), blender::BKE_paint_copy(), blender::blo_do_versions_503(), and blender::scene_foreach_paint().
| struct AssetWeakReference* blender::Paint::brush_asset_reference = nullptr |
A weak asset reference to the brush, if not NULL. Used to attempt restoring the active brush from the AssetLibrary system, typically on file load.
Definition at line 1243 of file DNA_scene_types.h.
Referenced by blender::BKE_paint_copy(), and blender::blo_do_versions_503().
| struct CurveMapping* blender::Paint::cavity_curve = nullptr |
Cavity curve.
Definition at line 1249 of file DNA_scene_types.h.
Referenced by blender::BKE_paint_copy(), blender::do_version_curvemapping_walker(), blender::ed::sculpt_paint::PaintStroke::PaintStroke(), and blender::project_state_init().
| PaintCurveVisibilityFlags blender::Paint::curve_visibility_flags = {} |
Collapsed state of a given pressure curve
Definition at line 1265 of file DNA_scene_types.h.
| ePaintDebugFlags blender::Paint::debug_flags = {} |
Definition at line 1252 of file DNA_scene_types.h.
Referenced by blender::workbench::SceneState::init().
| ePaintFlags blender::Paint::flags = PAINT_SHOW_BRUSH |
Definition at line 1251 of file DNA_scene_types.h.
Referenced by blender::BLO_update_defaults_startup_blend(), blender::ed::sculpt_paint::PaintStroke::modal(), blender::ed::sculpt_paint::paint_cursor_is_brush_cursor_enabled(), blender::ed::sculpt_paint::PaintStroke::PaintStroke(), and blender::project_state_init().
| struct MeshAutomaskingSettings* blender::Paint::mesh_automasking_settings = nullptr |
Definition at line 1269 of file DNA_scene_types.h.
Referenced by blender::BKE_paint_copy(), blender::blo_do_versions_502(), blender::ed::sculpt_paint::mask::mask_from_boundary_exec(), and blender::ed::sculpt_paint::mask::mask_from_cavity_exec().
| int blender::Paint::num_input_samples_deprecated = 0 |
Paint stroke can use up to PAINT_MAX_INPUT_SAMPLES inputs to smooth the stroke. This value is deprecated. Refer to the Brush and #UnifiedPaintSetting values instead.
Definition at line 1258 of file DNA_scene_types.h.
Referenced by blender::blo_do_versions_401().
Definition at line 1247 of file DNA_scene_types.h.
Referenced by blender::BKE_grease_pencil_palette_ensure(), blender::BKE_paint_copy(), blender::ui::greasepencil::eyedropper_add_palette_color(), and blender::scene_foreach_paint().
| bke::PaintRuntime* blender::Paint::runtime = nullptr |
Definition at line 1271 of file DNA_scene_types.h.
Referenced by blender::BKE_paint_copy(), blender::BKE_paint_ensure(), blender::brush_painter_2d_refresh_cache(), blender::ed::sculpt_paint::brush_strength(), blender::ed::sculpt_paint::vwpaint::brush_use_accumulate(), blender::ed::sculpt_paint::cursor_space_drawing_setup(), blender::ed::sculpt_paint::mesh_cursor_update_and_init(), blender::ed::sculpt_paint::PaintStroke::modal(), blender::ed::sculpt_paint::paint_cursor_context_init(), blender::ed::sculpt_paint::paint_cursor_update_anchored_location(), blender::ed::sculpt_paint::paint_cursor_update_rake_rotation(), blender::ed::sculpt_paint::paint_draw_2D_view_brush_cursor_default(), blender::ed::sculpt_paint::PaintStroke::PaintStroke(), blender::toggle_paint_cursor(), blender::ed::sculpt_paint::update_brush_local_mat(), 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().
| ePaintSymmetryFlags blender::Paint::symmetry_flags = PAINT_SYMMETRY_FEATHER |
Flags used for symmetry.
Definition at line 1261 of file DNA_scene_types.h.
Referenced by blender::blo_do_versions_260(), and blender::paint_2d_new_stroke().
| float blender::Paint::tile_offset[3] = {1.0f, 1.0f, 1.0f} |
Definition at line 1267 of file DNA_scene_types.h.
Referenced by blender::blo_do_versions_503().
| ToolSystemBrushBindings blender::Paint::tool_brush_bindings |
Definition at line 1245 of file DNA_scene_types.h.
Referenced by blender::BKE_paint_copy().
| struct UnifiedPaintSettings blender::Paint::unified_paint_settings |