Blender
V3.3
|
#include <DNA_scene_types.h>
Public Attributes | |
int | size |
float | unprojected_radius |
float | alpha |
float | weight |
float | rgb [3] |
float | secondary_rgb [3] |
int | flag |
float | last_rake [2] |
float | last_rake_angle |
int | last_stroke_valid |
float | average_stroke_accum [3] |
int | average_stroke_counter |
float | brush_rotation |
float | brush_rotation_sec |
int | anchored_size |
float | overlap_factor |
char | draw_inverted |
char | stroke_active |
char | draw_anchored |
char | do_linear_conversion |
float | last_location [3] |
int | last_hit |
float | anchored_initial_mouse [2] |
float | pixel_radius |
float | initial_pixel_radius |
float | start_pixel_radius |
float | size_pressure_value |
float | tex_mouse [2] |
float | mask_tex_mouse [2] |
struct ColorSpace * | colorspace |
Definition at line 1200 of file DNA_scene_types.h.
float UnifiedPaintSettings::alpha |
Definition at line 1208 of file DNA_scene_types.h.
Referenced by BKE_brush_alpha_get(), BKE_brush_alpha_set(), and blo_do_versions_260().
float UnifiedPaintSettings::anchored_initial_mouse[2] |
Definition at line 1257 of file DNA_scene_types.h.
Referenced by paint_brush_update(), paint_cursor_update_anchored_location(), paint_draw_cursor_overlay(), paint_draw_tex_overlay(), sculpt_update_brush_delta(), and sculpt_update_cache_variants().
int UnifiedPaintSettings::anchored_size |
Definition at line 1237 of file DNA_scene_types.h.
Referenced by paint_brush_update(), paint_cursor_update_anchored_location(), paint_cursor_update_unprojected_radius(), paint_draw_cursor_overlay(), paint_draw_tex_overlay(), sculpt_update_brush_delta(), and sculpt_update_cache_variants().
float UnifiedPaintSettings::average_stroke_accum[3] |
Definition at line 1228 of file DNA_scene_types.h.
Referenced by BKE_paint_init(), BKE_paint_stroke_get_average(), do_brush_action(), object_transfer_mode_reposition_view_pivot(), paint_last_stroke_update(), paint_stroke_new(), project_paint_op(), sculpt_face_sets_change_visibility_exec(), and sculpt_set_pivot_position_exec().
int UnifiedPaintSettings::average_stroke_counter |
Definition at line 1229 of file DNA_scene_types.h.
Referenced by BKE_paint_init(), BKE_paint_stroke_get_average(), do_brush_action(), object_transfer_mode_reposition_view_pivot(), paint_last_stroke_update(), paint_stroke_new(), project_paint_op(), sculpt_face_sets_change_visibility_exec(), and sculpt_set_pivot_position_exec().
float UnifiedPaintSettings::brush_rotation |
Definition at line 1231 of file DNA_scene_types.h.
Referenced by BKE_brush_sample_tex_3d(), brush_painter_2d_refresh_cache(), paint_brush_update(), paint_calculate_rake_rotation(), paint_draw_tex_overlay(), paint_update_brush_rake_rotation(), sculpt_update_cache_variants(), and stroke_done().
float UnifiedPaintSettings::brush_rotation_sec |
Definition at line 1232 of file DNA_scene_types.h.
Referenced by BKE_brush_sample_masktex(), brush_painter_2d_refresh_cache(), paint_brush_update(), paint_calculate_rake_rotation(), paint_draw_tex_overlay(), paint_update_brush_rake_rotation(), and stroke_done().
struct ColorSpace* UnifiedPaintSettings::colorspace |
Definition at line 1275 of file DNA_scene_types.h.
Referenced by BKE_brush_sample_tex_3d(), and paint_stroke_new().
char UnifiedPaintSettings::do_linear_conversion |
Definition at line 1250 of file DNA_scene_types.h.
Referenced by BKE_brush_sample_tex_3d(), and paint_stroke_new().
char UnifiedPaintSettings::draw_anchored |
Definition at line 1249 of file DNA_scene_types.h.
Referenced by paint_brush_update(), paint_cursor_update_anchored_location(), paint_cursor_update_unprojected_radius(), paint_draw_cursor_overlay(), paint_draw_tex_overlay(), paint_stroke_free(), sculpt_update_brush_delta(), and sculpt_update_cache_variants().
char UnifiedPaintSettings::draw_inverted |
Definition at line 1245 of file DNA_scene_types.h.
Referenced by paint_cursor_context_init(), sculpt_stroke_done(), sculpt_update_cache_invariants(), and vwpaint_update_cache_invariants().
int UnifiedPaintSettings::flag |
Definition at line 1219 of file DNA_scene_types.h.
Referenced by BKE_brush_alpha_get(), BKE_brush_alpha_set(), BKE_brush_color_get(), BKE_brush_color_set(), BKE_brush_secondary_color_get(), BKE_brush_size_get(), BKE_brush_size_set(), BKE_brush_unprojected_radius_get(), BKE_brush_unprojected_radius_set(), BKE_brush_use_locked_size(), BKE_brush_weight_get(), BKE_brush_weight_set(), BKE_scene_orientation_get_index_from_flag(), BKE_scene_orientation_slot_get_from_flag(), BKE_toolsettings_copy(), blo_do_versions_260(), blo_do_versions_280(), brush_colors_flip_exec(), and pe_brush_size_get().
float UnifiedPaintSettings::initial_pixel_radius |
Definition at line 1262 of file DNA_scene_types.h.
Referenced by paint_brush_update(), and sculpt_update_cache_variants().
int UnifiedPaintSettings::last_hit |
Definition at line 1255 of file DNA_scene_types.h.
Referenced by paint_brush_stroke_add_step(), paint_cursor_sculpt_session_update_and_init(), and scene_blend_read_data().
float UnifiedPaintSettings::last_location[3] |
Definition at line 1254 of file DNA_scene_types.h.
Referenced by paint_brush_stroke_add_step(), paint_cursor_sculpt_session_update_and_init(), and scene_blend_read_data().
float UnifiedPaintSettings::last_rake[2] |
Definition at line 1224 of file DNA_scene_types.h.
Referenced by paint_brush_update(), paint_calculate_rake_rotation(), and paint_stroke_modal().
float UnifiedPaintSettings::last_rake_angle |
Definition at line 1225 of file DNA_scene_types.h.
Referenced by paint_calculate_rake_rotation().
int UnifiedPaintSettings::last_stroke_valid |
Definition at line 1227 of file DNA_scene_types.h.
Referenced by BKE_paint_init(), BKE_paint_stroke_get_average(), do_brush_action(), object_transfer_mode_reposition_view_pivot(), paint_last_stroke_update(), project_paint_op(), sculpt_face_sets_change_visibility_exec(), and sculpt_set_pivot_position_exec().
float UnifiedPaintSettings::mask_tex_mouse[2] |
Definition at line 1272 of file DNA_scene_types.h.
Referenced by BKE_brush_randomize_texture_coords(), BKE_brush_sample_masktex(), and paint_brush_update().
float UnifiedPaintSettings::overlap_factor |
Normalization factor due to accumulated value of curve along spacing. Calculated when brush spacing changes to dampen strength of stroke if space attenuation is used.
Definition at line 1244 of file DNA_scene_types.h.
Referenced by brush_strength(), paint_line_strokes_spacing(), paint_space_stroke(), paint_stroke_curve_end(), paint_stroke_line_end(), paint_stroke_modal(), paint_stroke_new(), and blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step().
float UnifiedPaintSettings::pixel_radius |
Definition at line 1261 of file DNA_scene_types.h.
Referenced by BKE_brush_randomize_texture_coords(), BKE_brush_sample_masktex(), BKE_brush_sample_tex_3d(), paint_brush_stroke_add_step(), paint_brush_update(), sculpt_update_brush_delta(), and sculpt_update_cache_variants().
float UnifiedPaintSettings::rgb[3] |
Definition at line 1214 of file DNA_scene_types.h.
Referenced by BKE_brush_color_get(), BKE_brush_color_set(), and brush_colors_flip_exec().
float UnifiedPaintSettings::secondary_rgb[3] |
Definition at line 1216 of file DNA_scene_types.h.
Referenced by BKE_brush_secondary_color_get(), and brush_colors_flip_exec().
int UnifiedPaintSettings::size |
Definition at line 1202 of file DNA_scene_types.h.
Referenced by BKE_brush_size_get(), BKE_brush_size_set(), blo_do_versions_260(), and pe_brush_size_get().
float UnifiedPaintSettings::size_pressure_value |
Definition at line 1266 of file DNA_scene_types.h.
Referenced by BKE_brush_sample_masktex(), paint_brush_update(), paint_cursor_update_unprojected_radius(), paint_draw_2D_view_brush_cursor(), paint_draw_cursor_overlay(), and paint_draw_tex_overlay().
float UnifiedPaintSettings::start_pixel_radius |
Definition at line 1263 of file DNA_scene_types.h.
Referenced by BKE_brush_sample_masktex(), BKE_brush_sample_tex_3d(), and paint_stroke_new().
char UnifiedPaintSettings::stroke_active |
Definition at line 1247 of file DNA_scene_types.h.
Referenced by paint_brush_update(), paint_cursor_context_init(), paint_cursor_sculpt_session_update_and_init(), paint_cursor_update_rake_rotation(), paint_cursor_update_unprojected_radius(), paint_draw_2D_view_brush_cursor(), paint_draw_cursor_overlay(), paint_draw_tex_overlay(), paint_stroke_free(), and paint_stroke_new().
float UnifiedPaintSettings::tex_mouse[2] |
Definition at line 1269 of file DNA_scene_types.h.
Referenced by BKE_brush_randomize_texture_coords(), BKE_brush_sample_tex_3d(), paint_brush_update(), and sculpt_update_cache_invariants().
float UnifiedPaintSettings::unprojected_radius |
Definition at line 1205 of file DNA_scene_types.h.
Referenced by BKE_brush_unprojected_radius_get(), BKE_brush_unprojected_radius_set(), and blo_do_versions_260().
float UnifiedPaintSettings::weight |
Definition at line 1211 of file DNA_scene_types.h.
Referenced by BKE_brush_weight_get(), BKE_brush_weight_set(), and blo_do_versions_260().