Blender  V3.3
Public Attributes | List of all members
Bone Struct Reference

#include <DNA_armature_types.h>

Public Attributes

struct Bonenext
 
struct Boneprev
 
IDPropertyprop
 
struct Boneparent
 
ListBase childbase
 
char name [64]
 
float roll
 
float head [3]
 
float tail [3]
 
float bone_mat [3][3]
 
int flag
 
char inherit_scale_mode
 
char _pad [7]
 
float arm_head [3]
 
float arm_tail [3]
 
float arm_mat [4][4]
 
float arm_roll
 
float dist
 
float weight
 
float xwidth
 
float length
 
float zwidth
 
float rad_head
 
float rad_tail
 
float roll1
 
float roll2
 
float curve_in_x
 
float curve_in_z
 
float curve_out_x
 
float curve_out_z
 
float ease1
 
float ease2
 
float scale_in_x DNA_DEPRECATED
 
float scale_in_x scale_in_z DNA_DEPRECATED
 
float scale_out_x DNA_DEPRECATED
 
float scale_out_x scale_out_z DNA_DEPRECATED
 
float scale_in [3]
 
float scale_out [3]
 
float size [3]
 
int layer
 
short segments
 
char bbone_prev_type
 
char bbone_next_type
 
int bbone_flag
 
short bbone_prev_flag
 
short bbone_next_flag
 
struct Bonebbone_prev
 
struct Bonebbone_next
 

Detailed Description

Definition at line 28 of file DNA_armature_types.h.

Member Data Documentation

◆ _pad

char Bone::_pad[7]

Definition at line 51 of file DNA_armature_types.h.

◆ arm_head

float Bone::arm_head[3]

◆ arm_mat

float Bone::arm_mat[4][4]

◆ arm_roll

float Bone::arm_roll

Roll in Armature Space (rest pose).

Definition at line 59 of file DNA_armature_types.h.

Referenced by copy_bone_transform(), do_version_bone_roll_256(), ED_armature_from_edit(), and make_boneList_recursive().

◆ arm_tail

float Bone::arm_tail[3]

◆ bbone_flag

int Bone::bbone_flag

◆ bbone_next

struct Bone* Bone::bbone_next

◆ bbone_next_flag

short Bone::bbone_next_flag

◆ bbone_next_type

char Bone::bbone_next_type

◆ bbone_prev

struct Bone* Bone::bbone_prev

Next/prev bones to use as handle references when calculating bbones (optional).

Definition at line 101 of file DNA_armature_types.h.

Referenced by BKE_pchan_rebuild_bbone_handles(), copy_bonechildren_custom_handles(), direct_link_bones(), ED_armature_from_edit(), and make_boneList().

◆ bbone_prev_flag

short Bone::bbone_prev_flag

◆ bbone_prev_type

char Bone::bbone_prev_type

◆ bone_mat

float Bone::bone_mat[3][3]

◆ childbase

ListBase Bone::childbase

◆ curve_in_x

float Bone::curve_in_x

◆ curve_in_z

float Bone::curve_in_z

◆ curve_out_x

float Bone::curve_out_x

◆ curve_out_z

float Bone::curve_out_z

◆ dist

float Bone::dist

◆ DNA_DEPRECATED [1/4]

float scale_in_x Bone::DNA_DEPRECATED

Definition at line 82 of file DNA_armature_types.h.

◆ DNA_DEPRECATED [2/4]

float scale_in_x scale_in_z Bone::DNA_DEPRECATED

Definition at line 82 of file DNA_armature_types.h.

◆ DNA_DEPRECATED [3/4]

float scale_out_x Bone::DNA_DEPRECATED

Definition at line 83 of file DNA_armature_types.h.

◆ DNA_DEPRECATED [4/4]

float scale_out_x scale_out_z Bone::DNA_DEPRECATED

Definition at line 83 of file DNA_armature_types.h.

◆ ease1

float Bone::ease1

◆ ease2

float Bone::ease2

◆ flag

int Bone::flag

Definition at line 48 of file DNA_armature_types.h.

Referenced by add_pose_transdata(), add_verts_to_dgroups(), animchan_sync_group(), apply_targetless_ik(), applyarmature_process_selected_recursive(), armature_bone_transflags_update_recursive(), armature_vert_task_with_dvert(), armdef_accumulate_bone(), bc_is_root_bone(), BKE_armature_bone_flag_test_recursive(), BKE_bone_parent_transform_calc_from_pchan(), BKE_constraint_apply_for_pose(), BKE_object_defgroup_selected_get(), BKE_object_defgroup_validmap_get(), BKE_pchan_bbone_handles_get(), BKE_pchan_to_mat4(), BKE_pose_blend_write(), BKE_pose_bone_done(), BKE_pose_channel_active_or_first_selected(), BKE_pose_minmax(), BKE_pose_rest(), BKE_pose_update_constraint_flags(), BKE_pose_where_is_bone(), bone_children_clear_transflag(), bone_fn(), bone_mouse_select_menu(), bone_skinnable_cb(), clear_anim_v3d_exec(), compute_vertex_mask__armature_mode(), createTransPose(), delete_key_v3d_without_keying_set(), dgroup_skinnable_cb(), direct_link_bones(), do_circle_select_pose__doSelectBone(), do_lasso_select_pose__do_tag(), do_pose_box_select(), do_pose_tag_select_op_exec(), do_pose_tag_select_op_prepare(), draw_armature_pose(), draw_bone_relations(), ED_armature_from_edit(), ed_armature_pick_bone_from_selectbuffer_impl(), ED_armature_pose_select_pick_bone(), ED_object_calc_active_center_for_posemode(), ED_object_jump_to_bone(), ED_object_parent_set(), ED_pose_bone_select(), ED_pose_clear_paths(), ED_pose_deselect_all(), getTransformOrientation_ex(), gimbal_axis_pose(), gpencil_bone_skinnable_cb(), hide_pose_bone_fn(), AnimationExporter::is_bone_deform_group(), make_boneList_recursive(), motion_path_cache(), ob_parbone(), outliner_select_sync_to_pose_bone(), pchan_circle_doSelectJoint(), pchan_fn(), pose_bone_do_paste(), pose_do_bone_select(), pose_grab_with_ik(), pose_grab_with_ik_add(), pose_grab_with_ik_children(), pose_select_connected_invoke(), pose_select_constraint_target_exec(), pose_select_hierarchy_exec(), pose_select_linked_exec(), pose_select_mirror_exec(), pose_select_parent_exec(), pose_select_same_keyingset(), pose_transform_mirror_update(), poselib_apply_pose(), poselib_keytag_pose(), rebuild_pose_bone(), restrictbutton_bone_select_fn(), restrictbutton_bone_visibility_fn(), selectconnected_posebonechildren(), set_pose_keys(), show_pose_bone_cb(), skip_fcurve_selected_data(), snap_curs_to_sel_ex(), snap_sel_to_grid_exec(), snap_selected_to_location(), snapArmature(), transform_convert_pose_transflags_update(), tree_element_posechannel_activate(), v3d_transform_butsR(), vgroup_add_unique_bone_cb(), and visualkey_get_values().

◆ head

float Bone::head[3]

◆ inherit_scale_mode

char Bone::inherit_scale_mode

◆ layer

int Bone::layer

◆ length

float Bone::length

◆ name

char Bone::name[64]

◆ next

struct Bone* Bone::next

◆ parent

struct Bone* Bone::parent

◆ prev

struct Bone * Bone::prev

Definition at line 30 of file DNA_armature_types.h.

Referenced by vgroup_sort_bone_hierarchy().

◆ prop

IDProperty* Bone::prop

◆ rad_head

float Bone::rad_head

◆ rad_tail

float Bone::rad_tail

◆ roll

float Bone::roll

Roll is input for edit-mode, length calculated.

Definition at line 41 of file DNA_armature_types.h.

Referenced by armature_finalize_restpose(), BKE_armature_where_is_bone(), copy_bone_transform(), and ED_armature_from_edit().

◆ roll1

float Bone::roll1

Curved bones settings - these define the "rest-pose" for a curved bone.

Definition at line 77 of file DNA_armature_types.h.

Referenced by BKE_pchan_bbone_spline_params_get(), ED_armature_from_edit(), and make_boneList_recursive().

◆ roll2

float Bone::roll2

◆ scale_in

float Bone::scale_in[3]

◆ scale_out

float Bone::scale_out[3]

◆ segments

short Bone::segments

◆ size

float Bone::size[3]

Patch for upward compatibility, UNUSED!

Definition at line 87 of file DNA_armature_types.h.

Referenced by write_bone().

◆ tail

float Bone::tail[3]

Head/tail and roll in Bone Space.

Definition at line 44 of file DNA_armature_types.h.

Referenced by armature_finalize_restpose(), BKE_armature_where_is_bone(), and copy_bone_transform().

◆ weight

float Bone::weight

◆ xwidth

float Bone::xwidth

The width for block bones. The final X/Z bone widths are double these values.

Note
keep in this order for transform code which stores a pointer to xwidth, accessing length and zwidth as offsets.

Definition at line 69 of file DNA_armature_types.h.

Referenced by add_pose_transdata(), BKE_armature_where_is_bone(), draw_bone_update_disp_matrix_bbone(), ED_armature_from_edit(), make_boneList_recursive(), and pose_transform_mirror_update().

◆ zwidth

float Bone::zwidth

The documentation for this struct was generated from the following file: