Blender V4.5
BoneCollection Struct Reference

#include <DNA_armature_types.h>

Public Attributes

struct BoneCollectionnext
 
struct BoneCollectionprev
 
char name [64]
 
ListBase bones
 
uint8_t flags
 
uint8_t _pad0 [7]
 
int child_index
 
int child_count
 
struct IDPropertyprop
 
struct IDPropertysystem_properties
 

Detailed Description

Collection of Bones within an Armature.

BoneCollections are owned by their Armature, and cannot be shared between different armatures.

Bones can be in more than one collection at a time.

Selectability and visibility of bones are determined by OR-ing the collection flags.

Definition at line 264 of file DNA_armature_types.h.

Member Data Documentation

◆ _pad0

uint8_t BoneCollection::_pad0[7]

Definition at line 274 of file DNA_armature_types.h.

◆ bones

◆ child_count

◆ child_index

◆ flags

◆ name

char BoneCollection::name[64]

Definition at line 267 of file DNA_armature_types.h.

Referenced by add_or_move_to_collection_bcoll(), ANIM_armature_bonecoll_active_index_set(), ANIM_armature_bonecoll_active_set(), ANIM_armature_bonecoll_get_index_by_name(), ANIM_armature_bonecoll_insert_copy_after(), ANIM_armature_bonecoll_name_set(), ANIM_bonecoll_new(), armature_bone_primitive_add_exec(), bone_collection_assign_exec(), bone_collection_unassign_named_exec(), bonecoll_ensure_name_unique(), blender::ui::bonecollections::BoneCollectionItem::BoneCollectionItem(), blender::animrig::bonecolls_copy_expanded_flag(), blender::animrig::internal::bonecolls_debug_list(), blender::ui::bonecollections::BoneCollectionItem::build_row(), blender::ui::bonecollections::BoneCollectionDropTarget::drop_tooltip(), blender::ui::bonecollections::BoneCollectionItem::get_rename_string(), join_armature_remap_collection(), menu_add_item_for_move_assign_unassign(), mirror_bone_collection_assignments(), move_to_collection_menu_create(), blender::ed::outliner::namebutton_fn(), blender::animrig::tests::ArmatureBoneCollectionsLiboverrides::SetUp(), blender::animrig::tests::ArmatureBoneCollectionsTestList::SetUp(), blender::animrig::tests::TEST(), blender::animrig::tests::TEST(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), blender::animrig::tests::TEST_F(), and blender::ed::outliner::TreeElementBoneCollection::TreeElementBoneCollection().

◆ next

struct BoneCollection* BoneCollection::next

Definition at line 265 of file DNA_armature_types.h.

Referenced by armature_blend_write(), and read_bone_collections().

◆ prev

struct BoneCollection * BoneCollection::prev

Definition at line 265 of file DNA_armature_types.h.

Referenced by armature_blend_write(), and read_bone_collections().

◆ prop

◆ system_properties

struct IDProperty* BoneCollection::system_properties

Custom system IDProperties.

In Blender 4.5, only used to ensure forward compatibility with 5.x blend-files, and data management consistency.

Definition at line 293 of file DNA_armature_types.h.

Referenced by blender::animrig::ANIM_bonecoll_array_copy_no_membership(), blender::animrig::ANIM_bonecoll_array_free(), ANIM_bonecoll_free(), armature_foreach_id_bone_collection(), copy_and_update_ownership(), copy_bone_collection(), direct_link_bone_collection(), and join_armature_remap_collection().


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