Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_armature_types.h
| Show First 20 Lines • Show All 60 Lines • ▼ Show 20 Lines | typedef struct Bone { | ||||
| float arm_head[3]; | float arm_head[3]; | ||||
| float arm_tail[3]; /* head/tail in Armature Space (rest pos) */ | float arm_tail[3]; /* head/tail in Armature Space (rest pos) */ | ||||
| float arm_mat[4][4]; /* matrix: (bonemat(b)+head(b))*arm_mat(b-1), rest pos*/ | float arm_mat[4][4]; /* matrix: (bonemat(b)+head(b))*arm_mat(b-1), rest pos*/ | ||||
| float arm_roll; /* roll in Armature Space (rest pos) */ | float arm_roll; /* roll in Armature Space (rest pos) */ | ||||
| float dist, weight; /* dist, weight: for non-deformgroup deforms */ | float dist, weight; /* dist, weight: for non-deformgroup deforms */ | ||||
| float xwidth, length, zwidth; /* width: for block bones. keep in this order, transform! */ | float xwidth, length, zwidth; /* width: for block bones. keep in this order, transform! */ | ||||
| float ease1, ease2; /* length of bezier handles */ | |||||
| float rad_head, rad_tail; /* radius for head/tail sphere, defining deform as well, parent->rad_tip overrides rad_head */ | float rad_head, rad_tail; /* radius for head/tail sphere, defining deform as well, parent->rad_tip overrides rad_head */ | ||||
| float roll1, roll2; /* curved bones settings - these define the "restpose" for a curved bone */ | float roll1, roll2; /* curved bones settings - these define the "restpose" for a curved bone */ | ||||
| float curveInX, curveInY; | float curveInX, curveInY; | ||||
| float curveOutX, curveOutY; | float curveOutX, curveOutY; | ||||
| float ease1, ease2; /* length of bezier handles */ | |||||
| float scaleIn, scaleOut; | float scaleIn, scaleOut; | ||||
| float size[3]; /* patch for upward compat, UNUSED! */ | float size[3]; /* patch for upward compat, UNUSED! */ | ||||
| int layer; /* layers that bone appears on */ | int layer; /* layers that bone appears on */ | ||||
| short segments; /* for B-bones */ | short segments; /* for B-bones */ | ||||
| short pad1; | short pad1; | ||||
| ▲ Show 20 Lines • Show All 139 Lines • Show Last 20 Lines | |||||