Blender V4.3
blender::ed::sculpt_paint::PaintStroke Struct Reference

Public Attributes

std::unique_ptr< PaintModeDatamode_data
 
void * stroke_cursor
 
wmTimertimer
 
std::optional< RandomNumberGeneratorrng
 
ViewContext vc
 
Brushbrush
 
UnifiedPaintSettingsups
 
PaintSample samples [PAINT_MAX_INPUT_SAMPLES]
 
int num_samples
 
int cur_sample
 
int tot_samples
 
float2 last_mouse_position
 
float3 last_world_space_position
 
float3 last_scene_spacing_delta
 
bool stroke_over_mesh
 
float stroke_distance
 
bool stroke_started
 
bool rake_started
 
int event_type
 
bool stroke_init
 
bool brush_init
 
float2 initial_mouse
 
float cached_size_pressure
 
float last_pressure
 
int stroke_mode
 
float last_tablet_event_pressure
 
float zoom_2d
 
bool pen_flip
 
float x_tilt
 
float y_tilt
 
bool constrain_line
 
float2 constrained_pos
 
StrokeGetLocation get_location
 
StrokeTestStart test_start
 
StrokeUpdateStep update_step
 
StrokeRedraw redraw
 
StrokeDone done
 
bool original
 

Detailed Description

Definition at line 61 of file paint_stroke.cc.

Member Data Documentation

◆ brush

◆ brush_init

bool blender::ed::sculpt_paint::PaintStroke::brush_init

Definition at line 98 of file paint_stroke.cc.

Referenced by blender::ed::sculpt_paint::paint_brush_update().

◆ cached_size_pressure

float blender::ed::sculpt_paint::PaintStroke::cached_size_pressure

Definition at line 101 of file paint_stroke.cc.

Referenced by blender::ed::sculpt_paint::paint_brush_update().

◆ constrain_line

bool blender::ed::sculpt_paint::PaintStroke::constrain_line

◆ constrained_pos

float2 blender::ed::sculpt_paint::PaintStroke::constrained_pos

◆ cur_sample

int blender::ed::sculpt_paint::PaintStroke::cur_sample

Definition at line 76 of file paint_stroke.cc.

Referenced by blender::ed::sculpt_paint::paint_stroke_add_sample().

◆ done

StrokeDone blender::ed::sculpt_paint::PaintStroke::done

◆ event_type

int blender::ed::sculpt_paint::PaintStroke::event_type

◆ get_location

StrokeGetLocation blender::ed::sculpt_paint::PaintStroke::get_location

◆ initial_mouse

float2 blender::ed::sculpt_paint::PaintStroke::initial_mouse

Definition at line 99 of file paint_stroke.cc.

Referenced by blender::ed::sculpt_paint::paint_brush_update().

◆ last_mouse_position

◆ last_pressure

◆ last_scene_spacing_delta

float3 blender::ed::sculpt_paint::PaintStroke::last_scene_spacing_delta

◆ last_tablet_event_pressure

float blender::ed::sculpt_paint::PaintStroke::last_tablet_event_pressure

Definition at line 106 of file paint_stroke.cc.

Referenced by blender::ed::sculpt_paint::paint_stroke_modal().

◆ last_world_space_position

◆ mode_data

std::unique_ptr<PaintModeData> blender::ed::sculpt_paint::PaintStroke::mode_data

◆ num_samples

int blender::ed::sculpt_paint::PaintStroke::num_samples

◆ original

◆ pen_flip

◆ rake_started

bool blender::ed::sculpt_paint::PaintStroke::rake_started

Definition at line 92 of file paint_stroke.cc.

Referenced by blender::ed::sculpt_paint::paint_brush_update().

◆ redraw

◆ rng

std::optional<RandomNumberGenerator> blender::ed::sculpt_paint::PaintStroke::rng

Definition at line 65 of file paint_stroke.cc.

Referenced by blender::ed::sculpt_paint::paint_brush_update().

◆ samples

◆ stroke_cursor

void* blender::ed::sculpt_paint::PaintStroke::stroke_cursor

◆ stroke_distance

◆ stroke_init

bool blender::ed::sculpt_paint::PaintStroke::stroke_init

Definition at line 96 of file paint_stroke.cc.

Referenced by blender::ed::sculpt_paint::paint_stroke_modal().

◆ stroke_mode

◆ stroke_over_mesh

◆ stroke_started

◆ test_start

◆ timer

wmTimer* blender::ed::sculpt_paint::PaintStroke::timer

◆ tot_samples

int blender::ed::sculpt_paint::PaintStroke::tot_samples

◆ update_step

◆ ups

◆ vc

◆ x_tilt

float blender::ed::sculpt_paint::PaintStroke::x_tilt

◆ y_tilt

float blender::ed::sculpt_paint::PaintStroke::y_tilt

◆ zoom_2d


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