Blender  V3.3
Public Attributes | List of all members
tGP_BrushWeightpaintData Struct Reference

Public Attributes

struct Mainbmain
 
Scenescene
 
Objectobject
 
ARegionregion
 
bGPdatagpd
 
Brushbrush
 
GP_SpaceConversion gsc
 
bool is_painting
 
bool first
 
bool is_multiframe
 
bool use_multiframe_falloff
 
int vrgroup
 
float mval [2]
 
float mval_prev [2]
 
float pressure
 
float pressure_prev
 
float dvec [2]
 
float mf_falloff
 
rcti brush_rect
 
tGP_Selectedpbuffer
 
int pbuffer_used
 
int pbuffer_size
 

Detailed Description

Definition at line 80 of file gpencil_weight_paint.c.

Member Data Documentation

◆ bmain

struct Main* tGP_BrushWeightpaintData::bmain

Definition at line 81 of file gpencil_weight_paint.c.

Referenced by brush_draw_apply(), and gpencil_weightpaint_brush_init().

◆ brush

Brush* tGP_BrushWeightpaintData::brush

◆ brush_rect

rcti tGP_BrushWeightpaintData::brush_rect

◆ dvec

float tGP_BrushWeightpaintData::dvec[2]

Definition at line 116 of file gpencil_weight_paint.c.

Referenced by brush_calc_dvec_2d().

◆ first

bool tGP_BrushWeightpaintData::first

◆ gpd

bGPdata* tGP_BrushWeightpaintData::gpd

◆ gsc

GP_SpaceConversion tGP_BrushWeightpaintData::gsc

◆ is_multiframe

bool tGP_BrushWeightpaintData::is_multiframe

◆ is_painting

bool tGP_BrushWeightpaintData::is_painting

◆ mf_falloff

float tGP_BrushWeightpaintData::mf_falloff

◆ mval

float tGP_BrushWeightpaintData::mval[2]

◆ mval_prev

float tGP_BrushWeightpaintData::mval_prev[2]

Definition at line 112 of file gpencil_weight_paint.c.

Referenced by brush_calc_dvec_2d(), and gpencil_weightpaint_brush_apply().

◆ object

Object* tGP_BrushWeightpaintData::object

◆ pbuffer

tGP_Selected* tGP_BrushWeightpaintData::pbuffer

◆ pbuffer_size

int tGP_BrushWeightpaintData::pbuffer_size

Number of total elements available in cache.

Definition at line 130 of file gpencil_weight_paint.c.

Referenced by gpencil_save_selected_point(), gpencil_weightpaint_brush_do_frame(), and gpencil_weightpaint_brush_init().

◆ pbuffer_used

int tGP_BrushWeightpaintData::pbuffer_used

Number of elements currently used in cache.

Definition at line 128 of file gpencil_weight_paint.c.

Referenced by gpencil_save_selected_point(), gpencil_weightpaint_brush_do_frame(), and gpencil_weightpaint_brush_init().

◆ pressure

float tGP_BrushWeightpaintData::pressure

◆ pressure_prev

float tGP_BrushWeightpaintData::pressure_prev

Definition at line 113 of file gpencil_weight_paint.c.

Referenced by gpencil_weightpaint_brush_apply().

◆ region

ARegion* tGP_BrushWeightpaintData::region

Definition at line 85 of file gpencil_weight_paint.c.

Referenced by gpencil_weightpaint_brush_init().

◆ scene

Scene* tGP_BrushWeightpaintData::scene

Definition at line 82 of file gpencil_weight_paint.c.

Referenced by gpencil_weightpaint_brush_init().

◆ use_multiframe_falloff

bool tGP_BrushWeightpaintData::use_multiframe_falloff

◆ vrgroup

int tGP_BrushWeightpaintData::vrgroup

Definition at line 106 of file gpencil_weight_paint.c.

Referenced by brush_draw_apply(), and gpencil_weightpaint_brush_init().


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