Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_key.h
| Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | |||||
| /** | /** | ||||
| * Get the appropriate #KeyBlock given an index. | * Get the appropriate #KeyBlock given an index. | ||||
| */ | */ | ||||
| struct KeyBlock *BKE_keyblock_from_key(struct Key *key, int index); | struct KeyBlock *BKE_keyblock_from_key(struct Key *key, int index); | ||||
| /** | /** | ||||
| * Get the appropriate #KeyBlock given a name to search for. | * Get the appropriate #KeyBlock given a name to search for. | ||||
| */ | */ | ||||
| struct KeyBlock *BKE_keyblock_find_name(struct Key *key, const char name[]); | struct KeyBlock *BKE_keyblock_find_name(struct Key *key, const char name[]); | ||||
| struct KeyBlock *BKE_keyblock_find_uid(struct Key *key, int uid); | |||||
| /** | /** | ||||
| * \brief copy shape-key attributes, but not key data or name/UID. | * \brief copy shape-key attributes, but not key data or name/UID. | ||||
| */ | */ | ||||
| void BKE_keyblock_copy_settings(struct KeyBlock *kb_dst, const struct KeyBlock *kb_src); | void BKE_keyblock_copy_settings(struct KeyBlock *kb_dst, const struct KeyBlock *kb_src); | ||||
| /** | /** | ||||
| * Get RNA-Path for 'value' setting of the given shape-key. | * Get RNA-Path for 'value' setting of the given shape-key. | ||||
| * \note the user needs to free the returned string once they're finished with it. | * \note the user needs to free the returned string once they're finished with it. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 109 Lines • Show Last 20 Lines | |||||