|
Blender V4.3
|
#include <DNA_armature_types.h>
Public Attributes | |
| struct Bone * | next |
| struct Bone * | prev |
| IDProperty * | prop |
| struct Bone * | parent |
| ListBase | childbase |
| char | name [64] |
| float | roll |
| float | head [3] |
| float | tail [3] |
| float | bone_mat [3][3] |
| int | flag |
| char | _pad1 [4] |
| BoneColor | color |
| char | inherit_scale_mode |
| char | _pad [3] |
| 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_mapping_mode |
| char | _pad2 [7] |
| char | bbone_prev_type |
| char | bbone_next_type |
| int | bbone_flag |
| short | bbone_prev_flag |
| short | bbone_next_flag |
| struct Bone * | bbone_prev |
| struct Bone * | bbone_next |
| Bone_Runtime | runtime |
Definition at line 59 of file DNA_armature_types.h.
| char Bone::_pad[3] |
Definition at line 85 of file DNA_armature_types.h.
| char Bone::_pad1[4] |
Definition at line 81 of file DNA_armature_types.h.
| char Bone::_pad2[7] |
Definition at line 128 of file DNA_armature_types.h.
| float Bone::arm_head[3] |
Definition at line 87 of file DNA_armature_types.h.
Referenced by add_verts_to_dgroups(), armature_vert_task_with_dvert(), armdef_accumulate_bone(), armdef_evaluate(), BKE_pchan_bbone_spline_params_get(), BKE_pose_eval_bone(), BKE_pose_where_is(), copy_bone_transform(), dist_bone_deform(), do_version_bone_head_tail_237(), and ED_armature_from_edit().
| float Bone::arm_mat[4][4] |
Matrix: (bonemat(b)+head(b))*arm_mat(b-1), rest pose.
Definition at line 91 of file DNA_armature_types.h.
Referenced by action_flip_pchan(), add_verts_to_dgroups(), AnimationImporter::apply_matrix_curves(), applyarmature_process_selected_recursive(), armdef_accumulate_bone(), bc_bone_matrix_local_get(), BKE_armature_where_is_bone(), BKE_bone_parent_transform_calc_from_pchan(), BKE_constraint_mat_convertspace(), BKE_pchan_bbone_segments_cache_compute(), BKE_pchan_bbone_spline_params_get(), BKE_pose_bone_done(), BKE_pose_eval_bone(), BKE_pose_where_is(), compute_bbone_segment_boundaries(), convert_pose(), convert_tree(), copy_bone_transform(), do_version_bone_head_tail_237(), do_version_bone_roll_256(), and gimbal_axis_pose().
| float Bone::arm_roll |
Roll in Armature Space (rest pose).
Definition at line 93 of file DNA_armature_types.h.
Referenced by copy_bone_transform(), do_version_bone_roll_256(), and ED_armature_from_edit().
| float Bone::arm_tail[3] |
Head/tail in Armature Space (rest pose).
Definition at line 89 of file DNA_armature_types.h.
Referenced by add_verts_to_dgroups(), armature_transform_recurse(), armature_vert_task_with_dvert(), armdef_accumulate_bone(), BKE_pchan_bbone_spline_params_get(), BKE_pose_eval_bone(), BKE_pose_where_is(), convert_tree(), copy_bone_transform(), dist_bone_deform(), do_version_bone_head_tail_237(), and ED_armature_from_edit().
| int Bone::bbone_flag |
B-Bone flags.
Definition at line 134 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| char Bone::bbone_mapping_mode |
Vertex to segment mapping mode.
Definition at line 127 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_segments_cache_compute(), and ED_armature_from_edit().
| struct Bone* Bone::bbone_next |
Definition at line 139 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().
| short Bone::bbone_next_flag |
Definition at line 136 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| char Bone::bbone_next_type |
Definition at line 132 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_handles_get(), BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| struct Bone* Bone::bbone_prev |
Next/prev bones to use as handle references when calculating bbones (optional).
Definition at line 138 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().
| short Bone::bbone_prev_flag |
Definition at line 135 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| char Bone::bbone_prev_type |
Type of next/prev bone handles.
Definition at line 131 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_handles_get(), BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| float Bone::bone_mat[3][3] |
Rotation derived from head/tail/roll.
Definition at line 77 of file DNA_armature_types.h.
Referenced by add_pose_transdata(), BKE_armature_where_is_bone(), BKE_bone_offset_matrix_get(), convert_pose(), convert_tree(), copy_bone_transform(), draw_bone_degrees_of_freedom(), execute_posetree(), and gimbal_axis_pose().
| ListBase Bone::childbase |
Children.
Definition at line 67 of file DNA_armature_types.h.
Referenced by applyarmature_process_selected_recursive(), armature_foreach_id_bone(), bc_is_leaf_bone(), BKE_armature_where_is_bone(), bone_children_clear_transflag(), bone_looper(), copy_bonechildren(), copy_bonechildren_custom_handles(), direct_link_bones(), blender::ed::outliner::do_outliner_bone_select_recursive(), do_version_bone_head_tail_237(), do_version_bone_roll_256(), do_versions_idproperty_bones_recursive(), ED_armature_from_edit(), AnimationExporter::export_bone_animations_recursive(), blender::ed::greasepencil::foreach_bone_in_armature_ex(), AnimationExporter::is_bone_deform_group(), blender::ed::outliner::outliner_add_bone(), pose_channel_in_IK_chain(), pose_grab_with_ik_children(), pose_select_connected_invoke(), pose_select_linked_exec(), rebuild_pose_bone(), blender::ed::outliner::restrictbutton_recursive_bone(), selectconnected_posebonechildren(), blender::animrig::tests::ArmatureBoneCollections::SetUp(), blender::bke::tests::BKE_armature_find_selected_bones_test::SetUp(), transform_convert_pose_transflags_update(), blender::io::usd::visit_bones(), and write_bone().
| BoneColor Bone::color |
Definition at line 82 of file DNA_armature_types.h.
Referenced by blender::animrig::ANIM_bonecolor_posebone_get(), ED_armature_from_edit(), and UnifiedBonePtr::effective_bonecolor().
| float Bone::curve_in_x |
Definition at line 112 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| float Bone::curve_in_z |
Definition at line 112 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| float Bone::curve_out_x |
Definition at line 113 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| float Bone::curve_out_z |
Definition at line 113 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| float Bone::dist |
dist, weight: for non-deformgroup deforms.
Definition at line 96 of file DNA_armature_types.h.
Referenced by blender::ed::greasepencil::add_armature_envelope_weights(), add_pose_transdata(), armature_vert_task_with_dvert(), armdef_accumulate_bone(), dist_bone_deform(), ArmatureBoneDrawStrategyEnvelope::draw_bone(), ED_armature_from_edit(), and envelope_bone_weighting().
| float scale_in_x Bone::DNA_DEPRECATED |
Definition at line 116 of file DNA_armature_types.h.
| float scale_in_x scale_in_z Bone::DNA_DEPRECATED |
Definition at line 116 of file DNA_armature_types.h.
| float scale_out_x Bone::DNA_DEPRECATED |
Definition at line 117 of file DNA_armature_types.h.
| float scale_out_x scale_out_z Bone::DNA_DEPRECATED |
Definition at line 117 of file DNA_armature_types.h.
| float Bone::ease1 |
Length of bezier handles.
Definition at line 115 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), ED_armature_from_edit(), gizmo_bbone_offset_get(), and gizmo_bbone_offset_set().
| float Bone::ease2 |
Definition at line 115 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), ED_armature_from_edit(), gizmo_bbone_offset_get(), and gizmo_bbone_offset_set().
| int Bone::flag |
Definition at line 79 of file DNA_armature_types.h.
Referenced by blender::ed::greasepencil::add_armature_vertex_groups(), add_pose_transdata(), add_verts_to_dgroups(), ANIM_bone_is_visible(), animchan_sync_group(), apply_targetless_ik(), applyarmature_process_selected_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_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_update_constraint_flags(), BKE_pose_where_is_bone(), bone_children_clear_transflag(), bone_collection_select(), blender::ed::outliner::bone_fn(), bone_mouse_select_menu(), bone_skinnable_cb(), blender::ed::object::calc_active_center_for_posemode(), can_delete_fcurve(), can_delete_key(), compute_vertex_mask__armature_mode(), convert_tree(), createTransPose(), 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(), blender::draw::overlay::Armatures::draw_armature_pose(), ED_armature_from_edit(), ed_armature_pick_bone_from_selectbuffer_impl(), ED_armature_pose_select_pick_bone(), ED_pose_bone_select(), UnifiedBonePtr::flag(), blender::ed::greasepencil::get_skinnable_bones_and_deform_group_names(), getTransformOrientation_ex(), gimbal_axis_pose(), hide_pose_bone_fn(), blender::io::usd::init_deform_bones_map(), AnimationExporter::is_bone_deform_group(), blender::ed::object::jump_to_bone(), motion_path_cache(), ob_parbone(), blender::ed::outliner::outliner_draw_restrictbuts(), blender::ed::outliner::outliner_select_sync_from_pose_bone(), blender::ed::outliner::outliner_select_sync_to_pose_bone(), blender::ed::object::parent_set(), pchan_circle_doSelectJoint(), blender::ed::outliner::pchan_fn(), pose_bone_do_paste(), pose_do_bone_select(), pose_grab_with_ik(), pose_grab_with_ik_add(), 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_collection(), pose_select_same_color(), pose_select_same_keyingset(), pose_transform_mirror_update(), rebuild_pose_bone(), blender::ed::outliner::restrictbutton_bone_select_fn(), blender::ed::outliner::restrictbutton_bone_visibility_fn(), selectconnected_posebonechildren(), set_pose_keys(), ArmatureBoneDrawStrategy::should_draw_relation_to_parent(), show_pose_bone_cb(), skip_fcurve_selected_data(), snapArmature(), transform_convert_pose_transflags_update(), blender::ed::outliner::tree_element_bone_activate(), blender::ed::outliner::tree_element_bone_state_get(), blender::ed::outliner::tree_element_posechannel_activate(), blender::ed::outliner::tree_element_posechannel_state_get(), v3d_transform_butsR(), vgroup_add_unique_bone_cb(), and blender::animrig::visualkey_get_values().
| float Bone::head[3] |
Definition at line 73 of file DNA_armature_types.h.
Referenced by BKE_armature_where_is_bone(), BKE_bone_offset_matrix_get(), and copy_bone_transform().
| char Bone::inherit_scale_mode |
Definition at line 84 of file DNA_armature_types.h.
Referenced by applyarmature_process_selected_recursive(), BKE_bone_parent_transform_calc_from_pchan(), and ED_armature_from_edit().
| int Bone::layer |
Layers that bone appears on.
Definition at line 123 of file DNA_armature_types.h.
Referenced by ED_armature_from_edit().
| float Bone::length |
Definition at line 103 of file DNA_armature_types.h.
Referenced by applyarmature_process_selected_recursive(), BKE_armature_where_is_bone(), BKE_bone_offset_matrix_get(), BKE_pchan_bbone_spline_params_get(), BKE_pose_rest(), BKE_pose_where_is_bone_tail(), convert_tree(), do_version_bone_head_tail_237(), draw_axes(), draw_bone_degrees_of_freedom(), draw_bone_update_disp_matrix_bbone(), draw_bone_update_disp_matrix_default(), execute_posetree(), find_bbone_segment_index_straight(), ob_parbone(), splineik_evaluate_bone(), splineik_init_tree_from_pchan(), and where_is_ik_bone().
| char Bone::name[64] |
Name of the bone - must be unique within the armature, MAXBONENAME.
Definition at line 69 of file DNA_armature_types.h.
Referenced by BCSample::add_bone_matrix(), blender::ed::object::add_hook_object(), add_verts_to_dgroups(), applyarmature_process_selected_recursive(), bc_bone_matrix_local_get(), bc_enable_fcurves(), bone_skinnable_cb(), blender::deg::DepsgraphRelationBuilder::build_driver_data(), blender::io::usd::build_usd_joint_path(), buttons_context_path_pose_bone(), convert_tree(), copy_bonechildren_custom_handles(), dgroup_skinnable_cb(), draw_selected_name(), ED_armature_bone_rename(), ed_armature_bone_unique_name(), ED_armature_from_edit(), ED_armature_pose_select_pick_bone(), ED_wpaint_ensure_data(), AnimationExporter::export_bone_animation(), blender::io::usd::get_armature_bone_names(), get_joint_sid(), ArmatureImporter::get_rna_path_for_joint(), BCSample::get_value(), blender::io::usd::init_deform_bones_map(), blender::ed::outliner::namebutton_fn(), pose_channel_find_bone(), pose_grab_with_ik_children(), rebuild_pose_bone(), blender::ui::sample_data_from_outliner(), blender::animrig::tests::ArmatureBoneCollections::SetUp(), blender::animrig::tests::KeyframingTest::SetUp(), blender::bke::tests::BKE_armature_find_selected_bones_test::SetUp(), blender::ed::outliner::TreeElementBone::TreeElementBone(), vgroup_add_unique_bone_cb(), and blender::ed::object::vgroup_sync_from_pose().
| struct Bone* Bone::next |
Next/previous elements within this list.
Definition at line 61 of file DNA_armature_types.h.
Referenced by armature_copy_data(), BKE_armature_copy_bone_transforms(), BKE_armature_where_is_bone(), bone_children_clear_transflag(), bone_looper(), copy_bonechildren(), copy_bonechildren_custom_handles(), blender::ed::greasepencil::foreach_bone_in_armature_ex(), pose_grab_with_ik(), and rebuild_pose_bone().
| struct Bone* Bone::parent |
Parent (IK parent if appropriate flag is set).
Definition at line 65 of file DNA_armature_types.h.
Referenced by applyarmature_process_selected_recursive(), armature_copy_data(), bc_bone_matrix_local_get(), bc_create_restpose_mat(), bc_is_root_bone(), BKE_armature_bone_flag_test_recursive(), BKE_bone_offset_matrix_get(), BKE_bone_parent_transform_calc_from_pchan(), blender::io::usd::build_usd_joint_path(), copy_bonechildren(), direct_link_bones(), blender::draw::overlay::Armatures::draw_armature_pose(), ED_armature_from_edit(), UnifiedBonePtr::has_parent(), blender::io::usd::init_deform_bones_map(), pose_select_connected_invoke(), pose_select_linked_exec(), v3d_transform_butsR(), and blender::animrig::visualkey_get_values().
| struct Bone * Bone::prev |
Definition at line 61 of file DNA_armature_types.h.
| IDProperty* Bone::prop |
User-Defined Properties on this Bone.
Definition at line 63 of file DNA_armature_types.h.
Referenced by armature_foreach_id_bone(), bc_get_IDProperty(), copy_bonechildren(), direct_link_bones(), do_versions_idproperty_bones_recursive(), ED_armature_from_edit(), and write_bone().
| float Bone::rad_head |
Radius for head/tail sphere, defining deform as well, parent->rad_tip overrides rad_head.
Definition at line 108 of file DNA_armature_types.h.
Referenced by blender::ed::greasepencil::add_armature_envelope_weights(), armature_vert_task_with_dvert(), armdef_accumulate_bone(), ArmatureBoneDrawStrategyEnvelope::culling_test(), dist_bone_deform(), ArmatureBoneDrawStrategyEnvelope::draw_bone(), ED_armature_from_edit(), envelope_bone_weighting(), and UnifiedBonePtr::rad_head().
| float Bone::rad_tail |
Definition at line 108 of file DNA_armature_types.h.
Referenced by blender::ed::greasepencil::add_armature_envelope_weights(), armature_vert_task_with_dvert(), armdef_accumulate_bone(), ArmatureBoneDrawStrategyEnvelope::culling_test(), dist_bone_deform(), ArmatureBoneDrawStrategyEnvelope::draw_bone(), ED_armature_from_edit(), envelope_bone_weighting(), and UnifiedBonePtr::rad_tail().
| float Bone::roll |
Roll is input for edit-mode, length calculated.
Definition at line 72 of file DNA_armature_types.h.
Referenced by BKE_armature_where_is_bone(), copy_bone_transform(), and ED_armature_from_edit().
| float Bone::roll1 |
Curved bones settings - these define the "rest-pose" for a curved bone.
Definition at line 111 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| float Bone::roll2 |
Definition at line 111 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| Bone_Runtime Bone::runtime |
Definition at line 142 of file DNA_armature_types.h.
Referenced by add_reference(), ANIM_armature_bonecoll_contains_active_bone(), ANIM_armature_bonecoll_show_from_bone(), ANIM_armature_bonecoll_unassign(), ANIM_armature_bonecoll_unassign_all(), ANIM_bone_in_visible_collection(), copy_bonechildren(), copy_bonecollection_membership(), direct_link_bones(), ED_armature_from_edit(), pose_select_same_collection(), and write_bone().
| float Bone::scale_in[3] |
Definition at line 118 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| float Bone::scale_out[3] |
Definition at line 118 of file DNA_armature_types.h.
Referenced by BKE_pchan_bbone_spline_params_get(), and ED_armature_from_edit().
| short Bone::segments |
For B-bones.
Definition at line 125 of file DNA_armature_types.h.
Referenced by add_verts_to_dgroups(), applyarmature_transfer_properties(), armdef_accumulate_bone(), BKE_armature_where_is_bone(), BKE_pchan_bbone_deform_clamp_segment_index(), BKE_pchan_bbone_segments_cache_compute(), BKE_pchan_bbone_spline_params_get(), BKE_pchan_bbone_spline_setup(), BKE_pose_bone_done(), BKE_pose_eval_bbone_segments(), bone_skinnable_cb(), blender::deg::DepsgraphBuilder::check_pchan_has_bbone(), compute_bbone_segment_boundaries(), constraint_target_to_mat4(), ArmatureBoneDrawStrategyBBone::culling_test(), dgroup_skinnable_cb(), dist_bone_deform(), ArmatureBoneDrawStrategyBBone::draw_bone(), ArmatureBoneDrawStrategyWire::draw_bone(), draw_bone_update_disp_matrix_bbone(), ED_armature_from_edit(), pchan_bone_deform(), pchan_draw_data_init(), and WIDGETGROUP_armature_spline_poll().
| float Bone::size[3] |
Patch for upward compatibility, UNUSED!
Definition at line 121 of file DNA_armature_types.h.
Referenced by write_bone().
| float Bone::tail[3] |
Head/tail and roll in Bone Space.
Definition at line 75 of file DNA_armature_types.h.
Referenced by BKE_armature_where_is_bone(), and copy_bone_transform().
| float Bone::weight |
Definition at line 96 of file DNA_armature_types.h.
Referenced by dist_bone_deform(), and ED_armature_from_edit().
| float Bone::xwidth |
The width for block bones. The final X/Z bone widths are double these values.
xwidth, accessing length and zwidth as offsets. Definition at line 103 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(), and pose_transform_mirror_update().
| float Bone::zwidth |
Definition at line 103 of file DNA_armature_types.h.
Referenced by BKE_armature_where_is_bone(), draw_bone_update_disp_matrix_bbone(), ED_armature_from_edit(), and pose_transform_mirror_update().