|
Blender V4.5
|
#include "DNA_ID.h"#include "DNA_defs.h"#include "DNA_listBase.h"#include "DNA_userdef_types.h"#include "BLI_utildefines.h"Go to the source code of this file.
Classes | |
| struct | BoneColor |
| struct | Bone_Runtime |
| struct | Bone |
| struct | bArmature_Runtime |
| struct | bArmature |
| struct | BoneCollection |
| struct | BoneCollectionMember |
| struct | BoneCollectionReference |
Macros | |
| #define | MAXBONENAME 64 |
Typedefs | |
| typedef struct BoneColor | BoneColor |
| typedef struct Bone_Runtime | Bone_Runtime |
| typedef struct Bone | Bone |
| typedef struct bArmature_Runtime | bArmature_Runtime |
| typedef struct bArmature | bArmature |
| typedef struct BoneCollection | BoneCollection |
| typedef struct BoneCollectionMember | BoneCollectionMember |
| typedef struct BoneCollectionReference | BoneCollectionReference |
| typedef enum eArmature_Flag | eArmature_Flag |
| typedef enum eArmature_Drawtype | eArmature_Drawtype |
| typedef enum eArmature_DeformFlag | eArmature_DeformFlag |
| typedef enum eBone_Flag | eBone_Flag |
| typedef enum eBone_InheritScaleMode | eBone_InheritScaleMode |
| typedef enum eBone_BBoneHandleType | eBone_BBoneHandleType |
| typedef enum eBone_BBoneMappingMode | eBone_BBoneMappingMode |
| typedef enum eBone_BBoneFlag | eBone_BBoneFlag |
| typedef enum eBone_BBoneHandleFlag | eBone_BBoneHandleFlag |
| typedef enum eBoneCollection_Flag | eBoneCollection_Flag |
| #define MAXBONENAME 64 |
Definition at line 549 of file DNA_armature_types.h.
Referenced by action_flip_pchan(), action_flip_pchan_rna_paths(), add_verts_to_dgroups(), armature_autoside_names_exec(), armature_bone_primitive_add_exec(), armature_duplicate_selected_exec(), armature_extrude_exec(), ARMATURE_OT_bone_primitive_add(), armature_symmetrize_exec(), blender::bke::BKE_action_find_fcurves_with_bones(), BKE_object_defgroup_mirror_selection(), BKE_pose_channel_get_mirrored(), bone_autoside_name(), ED_armature_bone_rename(), ED_armature_bones_flip_names(), ED_armature_ebone_get_mirrored(), ED_wpaint_mirror_vgroup_ensure(), BCAnimationCurve::get_animation_name(), jump_to_target_button(), jump_to_target_ptr(), blender::ed::object::object_select_mirror_exec(), pose_autoside_names_exec(), pose_bone_do_paste(), select_similar_prefix(), and select_similar_suffix().
| typedef struct bArmature bArmature |
| typedef struct bArmature_Runtime bArmature_Runtime |
| typedef struct Bone Bone |
| typedef struct Bone_Runtime Bone_Runtime |
| typedef struct BoneCollection BoneCollection |
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.
| typedef struct BoneCollectionMember BoneCollectionMember |
Membership relation of a bone with a bone collection.
| typedef struct BoneCollectionReference BoneCollectionReference |
Membership relation of a bone with its collections.
This is only bone-runtime data for easy lookups, the actual membership is stored on the bArmature in BoneCollectionMember structs.
| typedef struct BoneColor BoneColor |
| typedef enum eBone_Flag eBone_Flag |
#BoneCollection.flag
| enum eArmature_DeformFlag |
| Enumerator | |
|---|---|
| ARM_DEF_VGROUP | |
| ARM_DEF_ENVELOPE | |
| ARM_DEF_QUATERNION | |
| ARM_DEF_INVERT_VGROUP | |
Definition at line 400 of file DNA_armature_types.h.
| enum eArmature_Drawtype |
| Enumerator | |
|---|---|
| ARM_DRAW_TYPE_ARMATURE_DEFINED | |
| ARM_DRAW_TYPE_OCTA | |
| ARM_DRAW_TYPE_STICK | |
| ARM_DRAW_TYPE_B_BONE | |
| ARM_DRAW_TYPE_ENVELOPE | |
| ARM_DRAW_TYPE_WIRE | |
Definition at line 390 of file DNA_armature_types.h.
| enum eArmature_Flag |
Definition at line 356 of file DNA_armature_types.h.
| enum eBone_BBoneFlag |
| Enumerator | |
|---|---|
| BBONE_ADD_PARENT_END_ROLL | Add the parent Out roll to the In roll. |
| BBONE_SCALE_EASING | Multiply B-Bone easing values with Scale Length. |
Definition at line 527 of file DNA_armature_types.h.
Definition at line 535 of file DNA_armature_types.h.
| Enumerator | |
|---|---|
| BBONE_HANDLE_AUTO | |
| BBONE_HANDLE_ABSOLUTE | |
| BBONE_HANDLE_RELATIVE | |
| BBONE_HANDLE_TANGENT | |
Definition at line 513 of file DNA_armature_types.h.
| Enumerator | |
|---|---|
| BBONE_MAPPING_STRAIGHT | |
| BBONE_MAPPING_CURVED | |
Definition at line 521 of file DNA_armature_types.h.
| enum eBone_Flag |
| Enumerator | |
|---|---|
| BONE_SELECTED | Bone selection, must only be set when the bone is not hidden (BONE_HIDDEN_A / BONE_HIDDEN_P flags must not be enabled as well). However the bone may not be visible to the user since the bones collection may be hidden. In most cases blender::animrig::bone_is_visible_editbone or blender::animrig::bone_is_visible_pchan should be used to check if the bone is visible to the user before operating on them. |
| BONE_ROOTSEL | |
| BONE_TIPSEL | |
| BONE_TRANSFORM | Used instead of BONE_SELECTED during transform (clear before use) |
| BONE_CONNECTED | When bone has a parent, connect head of bone to parent's tail. |
| BONE_HIDDEN_P | Hidden Bones when drawing PoseChannels. When set BONE_SELECTED must be cleared. |
| BONE_DONE | For detecting cyclic dependencies |
| BONE_DRAW_ACTIVE | active is on mouse clicks only - deprecated, ONLY USE FOR DRAWING |
| BONE_HINGE | No parent rotation or scale |
| BONE_HIDDEN_A | Hidden Bones when drawing Armature edit-mode. When set, selection flags (BONE_SELECTED, BONE_ROOTSEL & BONE_TIPSEL) must be cleared. |
| BONE_MULT_VG_ENV | multiplies vgroup with envelope |
| BONE_NO_DEFORM | bone doesn't deform geometry |
| BONE_HINGE_CHILD_TRANSFORM | set to prevent hinge child bones from influencing the transform center |
| BONE_DRAWWIRE | bone should be drawn as OB_WIRE, regardless of draw-types of view+armature |
| BONE_NO_CYCLICOFFSET | when no parent, bone will not get cyclic offset |
| BONE_EDITMODE_LOCKED | bone transforms are locked in EditMode |
| BONE_TRANSFORM_CHILD | Indicates that a parent is also being transformed |
| BONE_UNSELECTABLE | bone cannot be selected |
| BONE_NO_LOCAL_LOCATION | bone location is in armature space |
| BONE_RELATIVE_PARENTING | object child will use relative transform (like deform) |
| BONE_TRANSFORM_MIRROR | this bone was transformed by the mirror function |
| BONE_DRAW_LOCKED_WEIGHT | this bone is associated with a locked vertex group, ONLY USE FOR DRAWING |
Definition at line 422 of file DNA_armature_types.h.
| Enumerator | |
|---|---|
| BONE_INHERIT_SCALE_FULL | |
| BONE_INHERIT_SCALE_FIX_SHEAR | |
| BONE_INHERIT_SCALE_AVERAGE | |
| BONE_INHERIT_SCALE_NONE | |
| BONE_INHERIT_SCALE_NONE_LEGACY | |
| BONE_INHERIT_SCALE_ALIGNED | |
Definition at line 497 of file DNA_armature_types.h.
| enum eBoneCollection_Flag |
#BoneCollection.flag
| Enumerator | |
|---|---|
| BONE_COLLECTION_VISIBLE | |
| BONE_COLLECTION_SELECTABLE | |
| BONE_COLLECTION_OVERRIDE_LIBRARY_LOCAL | |
| BONE_COLLECTION_ANCESTORS_VISIBLE | Set when all ancestors are visible. This would actually be a runtime flag, but bone collections don't have a runtime struct yet, and the addition of one more flag doesn't seem worth the effort. |
| BONE_COLLECTION_SOLO | Whether this bone collection is marked as 'solo'. If no bone collections have this flag set, visibility is determined by BONE_COLLECTION_VISIBLE. If there is any bone collection with the BONE_COLLECTION_SOLO flag enabled, all bone collections are effectively hidden, except other collections with this flag enabled.
|
| BONE_COLLECTION_EXPANDED | |
Definition at line 552 of file DNA_armature_types.h.