Blender  V3.3
Public Attributes | List of all members
Key Struct Reference

#include <DNA_key_types.h>

Public Attributes

ID id
 
struct AnimDataadt
 
KeyBlockrefkey
 
char elemstr [32]
 
int elemsize
 
char _pad [4]
 
ListBase block
 
struct Ipo *ipo DNA_DEPRECATED
 
IDfrom
 
int totkey
 
short flag
 
char type
 
char _pad2
 
float ctime
 
int uidgen
 

Detailed Description

Definition at line 62 of file DNA_key_types.h.

Member Data Documentation

◆ _pad

char Key::_pad[4]

Definition at line 81 of file DNA_key_types.h.

◆ _pad2

char Key::_pad2

Definition at line 95 of file DNA_key_types.h.

◆ adt

struct AnimData* Key::adt

◆ block

ListBase Key::block

list of KeyBlock's

Definition at line 84 of file DNA_key_types.h.

Referenced by add_shapekey_layers(), animdata_filter_shapekey(), BKE_curve_transform_ex(), BKE_curve_translate(), BKE_editlattice_load(), BKE_key_evaluate_object_ex(), BKE_key_free_nolib(), BKE_key_sort(), BKE_keyblock_add(), BKE_keyblock_add_ctime(), BKE_keyblock_curve_data_set_with_mat4(), BKE_keyblock_data_get_from_shape(), BKE_keyblock_data_set(), BKE_keyblock_data_set_with_mat4(), BKE_keyblock_element_count_from_shape(), BKE_keyblock_find_name(), BKE_keyblock_from_key(), BKE_keyblock_from_object(), BKE_keyblock_is_basis(), BKE_keyblock_move(), BKE_lattice_transform(), BKE_lattice_translate(), BKE_mesh_create_derived_for_modifier(), BKE_mesh_nomain_to_mesh(), BKE_mesh_transform(), BKE_mesh_translate(), BKE_object_shapekey_remove(), blo_do_versions_250(), blo_do_versions_key_uidgen(), blo_do_versions_pre250(), BM_mesh_bm_from_me(), bm_to_mesh_shape(), blender::deg::DepsgraphNodeBuilder::build_shapekeys(), blender::deg::DepsgraphRelationBuilder::build_shapekeys(), calc_shapeKeys(), deformVerts(), do_curve_key(), do_latt_key(), do_mesh_key(), draw_selected_name(), ED_mesh_join_objects_exec(), ED_object_shape_key_add(), edbm_blend_from_shape_exec(), EDBM_mesh_load_ex(), join_mesh_single(), key_evaluate_relative(), keyblock_get_per_block_weights(), make_new_animlistelem(), object_shape_key_mirror(), object_shapekey_remove(), GeometryExporter::operator()(), sculpt_undo_restore_coords(), SCULPT_vertcos_to_key(), shape_key_clear_exec(), shape_key_retime_exec(), shapekey_blend_read_data(), shapekey_blend_write(), shapekey_copy_data(), shapekey_free_data(), shapekey_layers_to_keyblocks(), switch_keys_direction(), um_arraystore_compact_ex(), and um_arraystore_expand().

◆ ctime

float Key::ctime

Only used when (Key->type == KEY_NORMAL), this value is used as a time slider, rather than using the scene's time, this value can be animated to give greater control

Definition at line 99 of file DNA_key_types.h.

Referenced by BKE_keyblock_add_ctime(), do_curve_key(), do_latt_key(), and do_mesh_key().

◆ DNA_DEPRECATED

struct Ipo* ipo Key::DNA_DEPRECATED

old animation system, deprecated for 2.5

Definition at line 86 of file DNA_key_types.h.

◆ elemsize

int Key::elemsize

◆ elemstr

char Key::elemstr[32]

This is not a regular string, although it is \0 terminated this is an array of (element_array_size, element_type) pairs (each one char) used for calculating shape key-blocks.

Definition at line 78 of file DNA_key_types.h.

Referenced by BKE_key_add(), cp_key(), do_key(), key_evaluate_relative(), and switch_endian_keyblock().

◆ flag

short Key::flag

Definition at line 92 of file DNA_key_types.h.

Referenced by acf_dsskey_setting_ptr().

◆ from

ID* Key::from

◆ id

ID Key::id

◆ refkey

KeyBlock* Key::refkey

◆ totkey

int Key::totkey

◆ type

char Key::type

◆ uidgen

int Key::uidgen

Can never be 0, this is used for detecting old data. current free UID for key-blocks.

Definition at line 105 of file DNA_key_types.h.

Referenced by BKE_key_add(), BKE_keyblock_add(), blo_do_versions_key_uidgen(), and BM_mesh_bm_from_me().


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