133 const float mat[4][4],
155 float (*r_vert_normals)[3],
156 float (*r_face_normals)[3],
157 float (*r_loop_normals)[3]);
205 const ListBaseT<Nurb> *nurb,
These structs are the foundation for all linked lists in the library system.
void BKE_keyblock_data_set_with_mat4(Key *key, int shape_index, Span< float3 > coords, const float4x4 &transform)
void BKE_keyblock_update_from_lattice(const Lattice *lt, KeyBlock *kb)
void BKE_keyblock_data_get_from_shape(const Key *key, MutableSpan< float3 > arr, int shape_index)
KeyBlock * BKE_keyblock_duplicate(Key *key, KeyBlock *kb_src)
Key ** BKE_key_from_object_p(Object *ob)
bool BKE_key_idtype_support(short id_type)
bool BKE_keyblock_move(Object *ob, int org_index, int new_index)
void BKE_keyblock_curve_data_transform(const ListBaseT< Nurb > *nurb, const float mat[4][4], const void *src, void *dst)
bool BKE_keyblock_is_basis(const Key *key, int index)
void BKE_keyblock_convert_to_mesh(const KeyBlock *kb, MutableSpan< float3 > vert_positions)
int BKE_keyblock_element_count_from_shape(const Key *key, int shape_index)
void BKE_keyblock_update_from_mesh(const Mesh *mesh, KeyBlock *kb)
void BKE_key_sort(Key *key)
void BKE_keyblock_curve_data_set_with_mat4(Key *key, const ListBaseT< Nurb > *nurb, int shape_index, const void *data, const float4x4 &transform)
KeyBlock * BKE_keyblock_from_object(Object *ob)
void BKE_keyblock_convert_to_curve(KeyBlock *kb, Curve *cu, ListBaseT< Nurb > *nurb)
float * BKE_key_evaluate_object_ex(Object *ob, int *r_totelem, float *arr, size_t arr_size, std::optional< Span< bool > > keys_to_process, ID *obdata)
KeyBlock * BKE_keyblock_from_object_reference(Object *ob)
KeyBlock * BKE_keyblock_find_name(Key *key, const char name[])
MatBase< float, 4, 4 > float4x4
void key_curve_normal_weights(float t, float data[4], KeyInterpolationType type)
void BKE_keyblock_rename(Main &bmain, Key *key, KeyBlock *kb, const char *newname)
std::optional< Array< bool > > BKE_keyblock_get_dependent_keys(const Key *key, int index)
KeyBlock * BKE_keyblock_find_by_index(Key *key, int index)
Key * BKE_key_from_id(ID *id)
KeyBlock * BKE_keyblock_find_uid(Key *key, int uid)
void BKE_keyblock_mesh_calc_normals(const KeyBlock *kb, Mesh *mesh, float(*r_vert_normals)[3], float(*r_face_normals)[3], float(*r_loop_normals)[3])
Key * BKE_key_add(Main *bmain, ID *id)
BMesh const char void * data
Key ** BKE_key_from_id_p(ID *id)
std::optional< std::string > BKE_keyblock_curval_rnapath_get(const Key *key, const KeyBlock *kb)
size_t BKE_keyblock_element_calc_size(const Key *key)
void BKE_keyblock_data_get(const Key *key, MutableSpan< float3 > arr)
void BKE_keyblock_convert_from_lattice(const Lattice *lt, KeyBlock *kb)
void BKE_keyblock_data_set(Key *key, int shape_index, const void *data)
int BKE_keyblock_curve_element_count(const ListBaseT< Nurb > *nurb)
KeyBlock * BKE_keyblock_add(Key *key, const char *name)
float * BKE_key_evaluate_object(Object *ob, int *r_totelem)
void BKE_keyblock_copy_settings(KeyBlock *kb_dst, const KeyBlock *kb_src)
copy shape-key attributes, but not key data or name/UID.
int BKE_keyblock_element_count(const Key *key)
KeyBlock * BKE_keyblock_add_ctime(Key *key, const char *name, bool do_force)
void key_curve_position_weights(float t, float data[4], KeyInterpolationType type)
void BKE_key_free_nolib(Key *key)
size_t BKE_keyblock_element_calc_size_from_shape(const Key *key, int shape_index)
Key * BKE_key_from_object(Object *ob)
void BKE_keyblock_convert_to_lattice(const KeyBlock *kb, Lattice *lt)
void BKE_keyblock_convert_from_mesh(const Mesh *mesh, const Key *key, KeyBlock *kb)
void BKE_keyblock_update_from_curve(const Curve *cu, KeyBlock *kb, const ListBaseT< Nurb > *nurb)
void BKE_keyblock_convert_from_curve(const Curve *cu, KeyBlock *kb, const ListBaseT< Nurb > *nurb)
void key_curve_tangent_weights(float t, float data[4], KeyInterpolationType type)