Blender V5.0
blender::ed::sculpt_paint::greasepencil::EraseOperation Class Reference

Inherits blender::ed::sculpt_paint::GreasePencilStrokeOperation.

Public Member Functions

 EraseOperation (bool temp_use_eraser=false)
 ~EraseOperation () override=default
void on_stroke_begin (const bContext &C, const InputSample &start_sample) override
void on_stroke_extended (const bContext &C, const InputSample &extension_sample) override
void on_stroke_done (const bContext &C) override
Public Member Functions inherited from blender::ed::sculpt_paint::PaintModeData
virtual ~PaintModeData ()=default

Friends

struct EraseOperationExecutor

Detailed Description

Definition at line 41 of file grease_pencil_erase.cc.

Constructor & Destructor Documentation

◆ EraseOperation()

blender::ed::sculpt_paint::greasepencil::EraseOperation::EraseOperation ( bool temp_use_eraser = false)
inline

Definition at line 57 of file grease_pencil_erase.cc.

◆ ~EraseOperation()

blender::ed::sculpt_paint::greasepencil::EraseOperation::~EraseOperation ( )
overridedefault

References C.

Member Function Documentation

◆ on_stroke_begin()

◆ on_stroke_done()

◆ on_stroke_extended()

void blender::ed::sculpt_paint::greasepencil::EraseOperation::on_stroke_extended ( const bContext & C,
const InputSample & extension_sample )
overridevirtual

◆ EraseOperationExecutor

friend struct EraseOperationExecutor
friend

Definition at line 42 of file grease_pencil_erase.cc.

References EraseOperationExecutor, and GP_BRUSH_ERASER_HARD.

Referenced by EraseOperationExecutor, and on_stroke_extended().


The documentation for this class was generated from the following file: