Blender V5.3
blender::bke::brush Namespace Reference

Functions

void common_pressure_curves_init (Brush &brush)
float normal_weight_get (const Brush &brush, bool invert)
bool implements_3d_texture_paint (const Brush &brush)
bool supports_dyntopo (const Brush &brush)
bool supports_accumulate (const Brush &brush)
bool supports_topology_rake (const Brush &brush)
bool supports_auto_smooth (const Brush &brush)
bool supports_normal_radius (const Brush &brush)
bool supports_tip_roundness (const Brush &brush)
bool supports_hardness (const Brush &brush)
bool supports_height (const Brush &brush)
bool supports_plane_height (const Brush &brush)
bool supports_plane_depth (const Brush &brush)
bool supports_jitter (const Brush &brush)
bool supports_normal_weight (const Brush &brush)
bool supports_rake_factor (const Brush &brush)
bool supports_persistence (const Brush &brush)
bool supports_pinch_factor (const Brush &brush)
bool supports_plane_offset (const Brush &brush)
bool supports_random_texture_angle (const Brush &brush)
bool supports_sculpt_plane (const Brush &brush)
bool supports_color (const Brush &brush)
bool supports_secondary_cursor_color (const Brush &brush)
bool supports_smooth_stroke (const Brush &brush)
bool supports_space_attenuation (const Brush &brush)
bool supports_strength_pressure (const Brush &brush)
bool supports_size_pressure (const Brush &brush)
bool supports_auto_smooth_pressure (const Brush &brush)
bool supports_hardness_pressure (const Brush &brush)
bool supports_inverted_direction (const Brush &brush)
bool supports_gravity (const Brush &brush)
bool supports_tilt (const Brush &brush)
static bool is_paint_tool (const Brush &brush)
static bool is_grab_tool (const Brush &brush)

Function Documentation

◆ common_pressure_curves_init()

◆ implements_3d_texture_paint()

◆ is_grab_tool()

◆ is_paint_tool()

bool blender::bke::brush::is_paint_tool ( const Brush & brush)
static

◆ normal_weight_get()

◆ supports_accumulate()

◆ supports_auto_smooth()

bool blender::bke::brush::supports_auto_smooth ( const Brush & brush)

◆ supports_auto_smooth_pressure()

bool blender::bke::brush::supports_auto_smooth_pressure ( const Brush & brush)

◆ supports_color()

bool blender::bke::brush::supports_color ( const Brush & brush)

Definition at line 2024 of file brush.cc.

References ELEM, blender::SCULPT_BRUSH_TYPE_PAINT, and supports_color().

Referenced by supports_color().

◆ supports_dyntopo()

◆ supports_gravity()

◆ supports_hardness()

bool blender::bke::brush::supports_hardness ( const Brush & brush)

Definition at line 1959 of file brush.cc.

References blender::SCULPT_BRUSH_TYPE_POSE, and supports_hardness().

Referenced by supports_hardness().

◆ supports_hardness_pressure()

bool blender::bke::brush::supports_hardness_pressure ( const Brush & brush)

◆ supports_height()

bool blender::bke::brush::supports_height ( const Brush & brush)

Definition at line 1963 of file brush.cc.

References blender::SCULPT_BRUSH_TYPE_LAYER, and supports_height().

Referenced by supports_height().

◆ supports_inverted_direction()

◆ supports_jitter()

bool blender::bke::brush::supports_jitter ( const Brush & brush)

◆ supports_normal_radius()

bool blender::bke::brush::supports_normal_radius ( const Brush & brush)

Definition at line 1949 of file brush.cc.

References ELEM, blender::SCULPT_BRUSH_TYPE_POSE, and supports_normal_radius().

Referenced by supports_normal_radius().

◆ supports_normal_weight()

◆ supports_persistence()

bool blender::bke::brush::supports_persistence ( const Brush & brush)

◆ supports_pinch_factor()

bool blender::bke::brush::supports_pinch_factor ( const Brush & brush)

◆ supports_plane_depth()

bool blender::bke::brush::supports_plane_depth ( const Brush & brush)

Definition at line 1971 of file brush.cc.

References ELEM, blender::SCULPT_BRUSH_TYPE_PLANE, and supports_plane_depth().

Referenced by supports_plane_depth().

◆ supports_plane_height()

bool blender::bke::brush::supports_plane_height ( const Brush & brush)

Definition at line 1967 of file brush.cc.

References ELEM, blender::SCULPT_BRUSH_TYPE_PLANE, and supports_plane_height().

Referenced by supports_plane_height().

◆ supports_plane_offset()

bool blender::bke::brush::supports_plane_offset ( const Brush & brush)

◆ supports_rake_factor()

bool blender::bke::brush::supports_rake_factor ( const Brush & brush)

◆ supports_random_texture_angle()

bool blender::bke::brush::supports_random_texture_angle ( const Brush & brush)

Definition at line 2010 of file brush.cc.

References is_grab_tool(), and supports_random_texture_angle().

Referenced by supports_random_texture_angle().

◆ supports_sculpt_plane()

◆ supports_secondary_cursor_color()

◆ supports_size_pressure()

bool blender::bke::brush::supports_size_pressure ( const Brush & brush)

◆ supports_smooth_stroke()

bool blender::bke::brush::supports_smooth_stroke ( const Brush & brush)

◆ supports_space_attenuation()

bool blender::bke::brush::supports_space_attenuation ( const Brush & brush)

◆ supports_strength_pressure()

bool blender::bke::brush::supports_strength_pressure ( const Brush & brush)

Definition at line 2057 of file brush.cc.

References is_grab_tool(), and supports_strength_pressure().

Referenced by supports_strength_pressure().

◆ supports_tilt()

◆ supports_tip_roundness()

bool blender::bke::brush::supports_tip_roundness ( const Brush & brush)

◆ supports_topology_rake()