Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_brush_types.h
| Show First 20 Lines • Show All 343 Lines • ▼ Show 20 Lines | |||||
| } eBrushPoseOriginType; | } eBrushPoseOriginType; | ||||
| typedef enum eBrushSmearDeformType { | typedef enum eBrushSmearDeformType { | ||||
| BRUSH_SMEAR_DEFORM_DRAG = 0, | BRUSH_SMEAR_DEFORM_DRAG = 0, | ||||
| BRUSH_SMEAR_DEFORM_PINCH = 1, | BRUSH_SMEAR_DEFORM_PINCH = 1, | ||||
| BRUSH_SMEAR_DEFORM_EXPAND = 2, | BRUSH_SMEAR_DEFORM_EXPAND = 2, | ||||
| } eBrushSmearDeformType; | } eBrushSmearDeformType; | ||||
| typedef enum eBrushSlideDeformType { | |||||
| BRUSH_SLIDE_DEFORM_DRAG = 0, | |||||
| BRUSH_SLIDE_DEFORM_PINCH = 1, | |||||
| BRUSH_SLIDE_DEFORM_EXPAND = 2, | |||||
| } eBrushSlideDeformType; | |||||
| /* Gpencilsettings.Vertex_mode */ | /* Gpencilsettings.Vertex_mode */ | ||||
| typedef enum eGp_Vertex_Mode { | typedef enum eGp_Vertex_Mode { | ||||
| /* Affect to Stroke only. */ | /* Affect to Stroke only. */ | ||||
| GPPAINT_MODE_STROKE = 0, | GPPAINT_MODE_STROKE = 0, | ||||
| /* Affect to Fill only. */ | /* Affect to Fill only. */ | ||||
| GPPAINT_MODE_FILL = 1, | GPPAINT_MODE_FILL = 1, | ||||
| /* Affect to both. */ | /* Affect to both. */ | ||||
| GPPAINT_MODE_BOTH = 2, | GPPAINT_MODE_BOTH = 2, | ||||
| ▲ Show 20 Lines • Show All 115 Lines • ▼ Show 20 Lines | typedef struct Brush { | ||||
| float plane_offset; | float plane_offset; | ||||
| int gradient_spacing; | int gradient_spacing; | ||||
| /** Source for stroke color gradient application. */ | /** Source for stroke color gradient application. */ | ||||
| char gradient_stroke_mode; | char gradient_stroke_mode; | ||||
| /** Source for fill tool color gradient application. */ | /** Source for fill tool color gradient application. */ | ||||
| char gradient_fill_mode; | char gradient_fill_mode; | ||||
| char _pad0[1]; | char _pad0[5]; | ||||
| /** Projection shape (sphere, circle). */ | /** Projection shape (sphere, circle). */ | ||||
| char falloff_shape; | char falloff_shape; | ||||
| float falloff_angle; | float falloff_angle; | ||||
| /** Active sculpt tool. */ | /** Active sculpt tool. */ | ||||
| char sculpt_tool; | char sculpt_tool; | ||||
| /** Active sculpt tool. */ | /** Active sculpt tool. */ | ||||
| ▲ Show 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | typedef struct Brush { | ||||
| int surface_smooth_iterations; | int surface_smooth_iterations; | ||||
| /* multiplane scrape */ | /* multiplane scrape */ | ||||
| float multiplane_scrape_angle; | float multiplane_scrape_angle; | ||||
| /* smear */ | /* smear */ | ||||
| int smear_deform_type; | int smear_deform_type; | ||||
| /* slide/relax */ | |||||
| int slide_deform_type; | |||||
| /* overlay */ | /* overlay */ | ||||
| int texture_overlay_alpha; | int texture_overlay_alpha; | ||||
| int mask_overlay_alpha; | int mask_overlay_alpha; | ||||
| int cursor_overlay_alpha; | int cursor_overlay_alpha; | ||||
| float unprojected_radius; | float unprojected_radius; | ||||
| /* soften/sharpen */ | /* soften/sharpen */ | ||||
| ▲ Show 20 Lines • Show All 322 Lines • Show Last 20 Lines | |||||