|
Blender V4.3
|
Inherits blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon.
Additional Inherited Members | |
Public Types inherited from blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon | |
| using | MutableDrawingInfo = blender::ed::greasepencil::MutableDrawingInfo |
| using | DrawingPlacement = ed::greasepencil::DrawingPlacement |
Public Attributes inherited from blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon | |
| BrushStrokeMode | stroke_mode |
| float2 | start_mouse_position |
| float2 | prev_mouse_position |
Definition at line 33 of file grease_pencil_sculpt_randomize.cc.
|
inline |
Definition at line 166 of file grease_pencil_intern.hh.
|
inline |
Definition at line 167 of file grease_pencil_intern.hh.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 50 of file grease_pencil_sculpt_randomize.cc.
References blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::init_stroke().
|
inlineoverridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 42 of file grease_pencil_sculpt_randomize.cc.
|
overridevirtual |
Implements blender::ed::sculpt_paint::GreasePencilStrokeOperation.
Definition at line 55 of file grease_pencil_sculpt_randomize.cc.
References BKE_paint_brush(), BKE_paint_get_active_from_context(), blender::ed::sculpt_paint::greasepencil::brush_point_influence(), blender::ed::sculpt_paint::greasepencil::calculate_view_positions(), blender::math::clamp(), CTX_data_scene(), blender::bke::SpanAttributeWriter< T >::finish(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::foreach_editable_drawing(), blender::ed::sculpt_paint::greasepencil::get_drawing_deformation(), GP_SCULPT_FLAGMODE_APPLY_POSITION, GP_SCULPT_FLAGMODE_APPLY_STRENGTH, GP_SCULPT_FLAGMODE_APPLY_THICKNESS, GP_SCULPT_FLAGMODE_APPLY_UV, GPENCIL_ANY_SCULPT_MASK, Brush::gpencil_settings, blender::ed::sculpt_paint::greasepencil::hash_rng(), M_PI_2, blender::math::max(), blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::mouse_delta(), blender::math::normalize(), params, blender::bke::Point, blender::ed::sculpt_paint::greasepencil::point_selection_mask(), BrushGpencilSettings::sculpt_mode_flag, seed, blender::bke::SpanAttributeWriter< T >::span, blender::ed::sculpt_paint::greasepencil::GreasePencilStrokeOperationCommon::stroke_extended(), and unique_seed().
| uint32_t blender::ed::sculpt_paint::greasepencil::RandomizeOperation::unique_seed | ( | ) | const |
Definition at line 45 of file grease_pencil_sculpt_randomize.cc.
References blender::RandomNumberGenerator::from_random_seed(), and blender::RandomNumberGenerator::get_uint32().
Referenced by on_stroke_extended().