Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_brush_types.h
| Show First 20 Lines • Show All 335 Lines • ▼ Show 20 Lines | typedef enum eBrushPoseDeformType { | ||||
| BRUSH_POSE_DEFORM_SCALE_TRASLATE = 1, | BRUSH_POSE_DEFORM_SCALE_TRASLATE = 1, | ||||
| } eBrushPoseDeformType; | } eBrushPoseDeformType; | ||||
| typedef enum eBrushPoseOriginType { | typedef enum eBrushPoseOriginType { | ||||
| BRUSH_POSE_ORIGIN_TOPOLOGY = 0, | BRUSH_POSE_ORIGIN_TOPOLOGY = 0, | ||||
| BRUSH_POSE_ORIGIN_FACE_SETS = 1, | BRUSH_POSE_ORIGIN_FACE_SETS = 1, | ||||
| } eBrushPoseOriginType; | } eBrushPoseOriginType; | ||||
| typedef enum eDrawSharpDeformType { | |||||
| BRUSH_DRAW_SHARP_DEFORM_DRAW = 0, | |||||
| BRUSH_DRAW_SHARP_DEFORM_PINCH_RADIAL = 1, | |||||
| BRUSH_DRAW_SHARP_DEFORM_PINCH_PERPENDICULAR = 2, | |||||
| } eDrawSharpDeformType; | |||||
| /* 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 100 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 All 40 Lines | typedef struct Brush { | ||||
| /* Factor that controls the shape of the brush tip by rounding the corners of a square. */ | /* Factor that controls the shape of the brush tip by rounding the corners of a square. */ | ||||
| /* 0.0 value produces a square, 1.0 produces a circle. */ | /* 0.0 value produces a square, 1.0 produces a circle. */ | ||||
| float tip_roundness; | float tip_roundness; | ||||
| int elastic_deform_type; | int elastic_deform_type; | ||||
| float elastic_deform_volume_preservation; | float elastic_deform_volume_preservation; | ||||
| /* draw sharp */ | |||||
| int draw_sharp_deform_type; | |||||
| /* pose */ | /* pose */ | ||||
| int pose_deform_type; | int pose_deform_type; | ||||
| float pose_offset; | float pose_offset; | ||||
| int pose_smooth_iterations; | int pose_smooth_iterations; | ||||
| int pose_ik_segments; | int pose_ik_segments; | ||||
| int pose_origin_type; | int pose_origin_type; | ||||
| /* cloth */ | /* cloth */ | ||||
| ▲ Show 20 Lines • Show All 343 Lines • Show Last 20 Lines | |||||