Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/ED_armature.h
| Show First 20 Lines • Show All 69 Lines • ▼ Show 20 Lines | typedef struct EditBone { | ||||
| float head[3]; | float head[3]; | ||||
| float tail[3]; | float tail[3]; | ||||
| /** All joints are considered to have zero rotation with respect to | /** All joints are considered to have zero rotation with respect to | ||||
| * their parents. Therefore any rotations specified during the | * their parents. Therefore any rotations specified during the | ||||
| * animation are automatically relative to the bones' rest positions*/ | * animation are automatically relative to the bones' rest positions*/ | ||||
| int flag; | int flag; | ||||
| int layer; | int layer; | ||||
| /* Envelope distance & weight */ | |||||
| float dist, weight; | float dist, weight; | ||||
| /** put them in order! transform uses this as scale */ | /** put them in order! transform uses this as scale */ | ||||
| float xwidth, length, zwidth; | float xwidth, length, zwidth; | ||||
| float rad_head, rad_tail; | float rad_head, rad_tail; | ||||
| /* Bendy-Bone parameters */ | /* Bendy-Bone parameters */ | ||||
| short segments; | |||||
| float roll1, roll2; | float roll1, roll2; | ||||
| float curve_in_x, curve_in_y; | float curve_in_x, curve_in_y; | ||||
| float curve_out_x, curve_out_y; | float curve_out_x, curve_out_y; | ||||
| float ease1, ease2; | float ease1, ease2; | ||||
| float scale_in_x, scale_in_y; | float scale_in_x, scale_in_y; | ||||
| float scale_out_x, scale_out_y; | float scale_out_x, scale_out_y; | ||||
| /** for envelope scaling */ | /** for envelope scaling */ | ||||
| float oldlength; | float oldlength; | ||||
| short segments; | |||||
| /** Type of next/prev bone handles */ | /** Type of next/prev bone handles */ | ||||
| char bbone_prev_type; | char bbone_prev_type; | ||||
| char bbone_next_type; | char bbone_next_type; | ||||
| /** Next/prev bones to use as handle references when calculating bbones (optional) */ | /** Next/prev bones to use as handle references when calculating bbones (optional) */ | ||||
| struct EditBone *bbone_prev; | struct EditBone *bbone_prev; | ||||
| struct EditBone *bbone_next; | struct EditBone *bbone_next; | ||||
| /* Used for display */ | /* Used for display */ | ||||
| ▲ Show 20 Lines • Show All 207 Lines • Show Last 20 Lines | |||||