Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_brush_types.h
| Show First 20 Lines • Show All 345 Lines • ▼ Show 20 Lines | typedef enum eBrushSmoothDeformType { | ||||
| BRUSH_SMOOTH_DEFORM_SURFACE = 1, | BRUSH_SMOOTH_DEFORM_SURFACE = 1, | ||||
| } eBrushSmoothDeformType; | } eBrushSmoothDeformType; | ||||
| typedef enum eBrushClothForceFalloffType { | typedef enum eBrushClothForceFalloffType { | ||||
| BRUSH_CLOTH_FORCE_FALLOFF_RADIAL = 0, | BRUSH_CLOTH_FORCE_FALLOFF_RADIAL = 0, | ||||
| BRUSH_CLOTH_FORCE_FALLOFF_PLANE = 1, | BRUSH_CLOTH_FORCE_FALLOFF_PLANE = 1, | ||||
| } eBrushClothForceFalloffType; | } eBrushClothForceFalloffType; | ||||
| typedef enum eBrushClothSimulationAreaType { | |||||
| BRUSH_CLOTH_SIMULATION_AREA_LOCAL = 0, | |||||
| BRUSH_CLOTH_SIMULATION_AREA_GLOBAL = 1, | |||||
| } eBrushClothSimulationAreaType; | |||||
| typedef enum eBrushPoseDeformType { | typedef enum eBrushPoseDeformType { | ||||
| BRUSH_POSE_DEFORM_ROTATE_TWIST = 0, | BRUSH_POSE_DEFORM_ROTATE_TWIST = 0, | ||||
| BRUSH_POSE_DEFORM_SCALE_TRASLATE = 1, | BRUSH_POSE_DEFORM_SCALE_TRASLATE = 1, | ||||
| BRUSH_POSE_DEFORM_SQUASH_STRETCH = 2, | BRUSH_POSE_DEFORM_SQUASH_STRETCH = 2, | ||||
| } eBrushPoseDeformType; | } eBrushPoseDeformType; | ||||
| typedef enum eBrushPoseOriginType { | typedef enum eBrushPoseOriginType { | ||||
| BRUSH_POSE_ORIGIN_TOPOLOGY = 0, | BRUSH_POSE_ORIGIN_TOPOLOGY = 0, | ||||
| ▲ Show 20 Lines • Show All 179 Lines • ▼ Show 20 Lines | typedef struct Brush { | ||||
| /** Active grease pencil tool. */ | /** Active grease pencil tool. */ | ||||
| char gpencil_tool; | char gpencil_tool; | ||||
| /** Active grease pencil vertex tool. */ | /** Active grease pencil vertex tool. */ | ||||
| char gpencil_vertex_tool; | char gpencil_vertex_tool; | ||||
| /** Active grease pencil sculpt tool. */ | /** Active grease pencil sculpt tool. */ | ||||
| char gpencil_sculpt_tool; | char gpencil_sculpt_tool; | ||||
| /** Active grease pencil weight tool. */ | /** Active grease pencil weight tool. */ | ||||
| char gpencil_weight_tool; | char gpencil_weight_tool; | ||||
| char _pad1[6]; | char _pad1[2]; | ||||
| float autosmooth_factor; | float autosmooth_factor; | ||||
| float topology_rake_factor; | float topology_rake_factor; | ||||
| float crease_pinch_factor; | float crease_pinch_factor; | ||||
| float normal_radius_factor; | float normal_radius_factor; | ||||
| Show All 22 Lines | typedef struct Brush { | ||||
| 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 */ | ||||
| int cloth_deform_type; | int cloth_deform_type; | ||||
| int cloth_force_falloff_type; | int cloth_force_falloff_type; | ||||
| int cloth_simulation_area_type; | |||||
| float cloth_mass; | float cloth_mass; | ||||
| float cloth_damping; | float cloth_damping; | ||||
| float cloth_sim_limit; | float cloth_sim_limit; | ||||
| float cloth_sim_falloff; | float cloth_sim_falloff; | ||||
| float cloth_constraint_softbody_strength; | float cloth_constraint_softbody_strength; | ||||
| ▲ Show 20 Lines • Show All 349 Lines • Show Last 20 Lines | |||||