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

Public Attributes

Scenescene
 
Objectobject
 
ARegionregion
 
bGPdatagpd
 
Brushbrush
 
float linear_color [3]
 
eGPDvertex_brush_Flag flag
 
eGP_Vertex_SelectMaskFlag mask
 
GP_SpaceConversion gsc
 
bool is_painting
 
bool first
 
bool is_multiframe
 
bool use_multiframe_falloff
 
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
 
tGP_Gridgrid
 
int grid_size
 
int grid_len
 
int grid_sample [2]
 
bool grid_ready
 

Detailed Description

Definition at line 84 of file gpencil_vertex_paint.c.

Member Data Documentation

◆ brush

Brush* tGP_BrushVertexpaintData::brush

◆ brush_rect

rcti tGP_BrushVertexpaintData::brush_rect

◆ dvec

float tGP_BrushVertexpaintData::dvec[2]

◆ first

bool tGP_BrushVertexpaintData::first

◆ flag

eGPDvertex_brush_Flag tGP_BrushVertexpaintData::flag

Definition at line 95 of file gpencil_vertex_paint.c.

Referenced by brush_invert_check(), and gpencil_vertexpaint_brush_apply().

◆ gpd

bGPdata* tGP_BrushVertexpaintData::gpd

◆ grid

tGP_Grid* tGP_BrushVertexpaintData::grid

◆ grid_len

int tGP_BrushVertexpaintData::grid_len

Total number of cells elements in the grid array.

Definition at line 140 of file gpencil_vertex_paint.c.

Referenced by brush_smear_apply(), gpencil_grid_cell_index_get(), gpencil_grid_colors_calc(), and gpencil_vertexpaint_brush_init().

◆ grid_ready

bool tGP_BrushVertexpaintData::grid_ready

Grid is ready to use

Definition at line 144 of file gpencil_vertex_paint.c.

Referenced by brush_smear_apply(), gpencil_grid_colors_calc(), and gpencil_vertexpaint_brush_init().

◆ grid_sample

int tGP_BrushVertexpaintData::grid_sample[2]

Grid sample position (used to determine distance of falloff)

Definition at line 142 of file gpencil_vertex_paint.c.

Referenced by brush_smear_apply(), and gpencil_grid_colors_calc().

◆ grid_size

int tGP_BrushVertexpaintData::grid_size

Total number of rows/cols.

Definition at line 138 of file gpencil_vertex_paint.c.

Referenced by brush_smear_apply(), gpencil_grid_cells_init(), and gpencil_vertexpaint_brush_init().

◆ gsc

GP_SpaceConversion tGP_BrushVertexpaintData::gsc

◆ is_multiframe

bool tGP_BrushVertexpaintData::is_multiframe

◆ is_painting

bool tGP_BrushVertexpaintData::is_painting

◆ linear_color

float tGP_BrushVertexpaintData::linear_color[3]

◆ mask

eGP_Vertex_SelectMaskFlag tGP_BrushVertexpaintData::mask

◆ mf_falloff

float tGP_BrushVertexpaintData::mf_falloff

◆ mval

float tGP_BrushVertexpaintData::mval[2]

◆ mval_prev

float tGP_BrushVertexpaintData::mval_prev[2]

Definition at line 115 of file gpencil_vertex_paint.c.

Referenced by brush_calc_dvec_2d(), and gpencil_vertexpaint_brush_apply().

◆ object

Object* tGP_BrushVertexpaintData::object

◆ pbuffer

tGP_Selected* tGP_BrushVertexpaintData::pbuffer

◆ pbuffer_size

int tGP_BrushVertexpaintData::pbuffer_size

Number of total elements available in cache.

Definition at line 133 of file gpencil_vertex_paint.c.

Referenced by gpencil_save_selected_point(), gpencil_vertexpaint_brush_do_frame(), and gpencil_vertexpaint_brush_init().

◆ pbuffer_used

int tGP_BrushVertexpaintData::pbuffer_used

◆ pressure

float tGP_BrushVertexpaintData::pressure

◆ pressure_prev

float tGP_BrushVertexpaintData::pressure_prev

Definition at line 116 of file gpencil_vertex_paint.c.

Referenced by gpencil_vertexpaint_brush_apply().

◆ region

ARegion* tGP_BrushVertexpaintData::region

Definition at line 88 of file gpencil_vertex_paint.c.

Referenced by gpencil_vertexpaint_brush_init().

◆ scene

Scene* tGP_BrushVertexpaintData::scene

Definition at line 85 of file gpencil_vertex_paint.c.

Referenced by gpencil_vertexpaint_brush_init().

◆ use_multiframe_falloff

bool tGP_BrushVertexpaintData::use_multiframe_falloff

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