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

#include <DNA_constraint_types.h>

Public Attributes

struct bConstraintnext
 
struct bConstraintprev
 
voiddata
 
short type
 
short flag
 
char ownspace
 
char tarspace
 
short ui_expand_flag
 
struct Objectspace_object
 
char space_subtarget [64]
 
char name [64]
 
float enforce
 
float headtail
 
struct Ipo *ipo DNA_DEPRECATED
 
float lin_error
 
float rot_error
 

Detailed Description

Definition at line 33 of file DNA_constraint_types.h.

Member Data Documentation

◆ data

void* bConstraint::data

Constraint data (a valid constraint type).

Definition at line 37 of file DNA_constraint_types.h.

Referenced by actcon_evaluate(), actcon_flush_tars(), actcon_get_tarmat(), actcon_get_tars(), actcon_id_looper(), add_new_constraint(), add_new_constraint_internal(), add_temporary_ik_constraint(), applyarmature_reset_bone_constraint(), armdef_copy(), armdef_evaluate(), armdef_free(), armdef_get_tars(), armdef_id_looper(), base_callback(), BKE_constraint_blend_read_data(), BKE_constraint_blend_read_lib(), BKE_constraint_blend_write(), BKE_constraint_free_data_ex(), BKE_pose_update_constraint_flags(), blo_do_version_old_trackto_to_constraints(), blo_do_versions_260(), blo_do_versions_pre250(), blender::deg::DepsgraphNodeBuilder::build_ik_pose(), blender::deg::DepsgraphRelationBuilder::build_ik_pose(), blender::deg::DepsgraphNodeBuilder::build_splineik_pose(), blender::deg::DepsgraphRelationBuilder::build_splineik_pose(), camerasolver_evaluate(), camerasolver_id_looper(), childof_clear_inverse_exec(), childof_evaluate(), childof_flush_tars(), childof_get_tars(), childof_id_looper(), childof_set_inverse_exec(), clampto_evaluate(), clampto_flush_tars(), clampto_get_tars(), clampto_id_looper(), constraint_add_exec(), constraint_bone_name_fix(), constraint_copy_data_ex(), constraint_list_find_from_target(), constraint_valid(), constraintRotLim(), constraints_list_needinv(), constraintSizeLim(), constraintTransLim(), convert_tree(), copypose_callback(), damptrack_evaluate(), damptrack_flush_tars(), damptrack_get_tars(), damptrack_id_looper(), distance_callback(), distlimit_evaluate(), distlimit_flush_tars(), distlimit_get_tars(), distlimit_id_looper(), do_version_constraints_245(), do_version_constraints_radians_degrees_250(), do_version_constraints_radians_degrees_270_1(), do_version_constraints_radians_degrees_270_5(), do_version_constraints_stretch_to_limits(), ED_object_parent_set(), execute_posetree(), followpath_evaluate(), followpath_flush_tars(), followpath_get_tarmat(), followpath_get_tars(), followpath_id_looper(), followpath_path_animate_exec(), followtrack_camera_object_get(), followtrack_context_init(), followtrack_evaluate(), followtrack_id_looper(), followtrack_tracking_clip_get(), followtrack_tracking_object_get(), has_targetless_ik(), initialize_chain(), initialize_posetree(), itasc_test_constraint(), joined_armature_fix_links_constraints(), kinematic_flush_tars(), kinematic_get_tarmat(), kinematic_get_tars(), kinematic_id_looper(), limitdistance_reset_exec(), locktrack_evaluate(), locktrack_flush_tars(), locktrack_get_tars(), locktrack_id_looper(), loclike_evaluate(), loclike_flush_tars(), loclike_get_tars(), loclike_id_looper(), loclimit_evaluate(), minmax_evaluate(), minmax_flush_tars(), minmax_get_tars(), minmax_id_looper(), objectsolver_clear_inverse_exec(), objectsolver_evaluate(), objectsolver_id_looper(), objectsolver_set_inverse_exec(), OVERLAY_relationship_lines(), pchan_autoik_adjust(), pchan_draw_ik_lines(), pivotcon_evaluate(), pivotcon_flush_tars(), pivotcon_get_tars(), pivotcon_id_looper(), pose_channel_in_IK_chain(), pose_grab_with_ik_add(), pose_grab_with_ik_clear(), pycon_copy(), pycon_evaluate(), pycon_free(), pycon_get_tarmat(), pycon_get_tars(), pycon_id_looper(), blender::io::usd::USDXformReader::read_object_data(), rotlike_evaluate(), rotlike_flush_tars(), rotlike_get_tars(), rotlike_id_looper(), rotlimit_evaluate(), samevolume_evaluate(), blender::io::alembic::AbcObjectReader::setupObjectTransform(), shrinkwrap_flush_tars(), shrinkwrap_get_tarmat(), shrinkwrap_get_tars(), shrinkwrap_id_looper(), sizelike_evaluate(), sizelike_flush_tars(), sizelike_get_tars(), sizelike_id_looper(), sizelimit_evaluate(), splineik_copy(), splineik_flush_tars(), splineik_free(), splineik_get_tars(), splineik_id_looper(), splineik_init_tree_from_pchan(), stretchto_evaluate(), stretchto_flush_tars(), stretchto_get_tars(), stretchto_id_looper(), stretchto_reset_exec(), test_constraint(), text_refresh_pyconstraints_exec(), track_set_exec(), trackto_evaluate(), trackto_flush_tars(), trackto_get_tars(), trackto_id_looper(), transform_evaluate(), transform_flush_tars(), transform_get_tars(), transform_id_looper(), transformcache_copy(), transformcache_evaluate(), transformcache_free(), transformcache_id_looper(), translike_evaluate(), translike_flush_tars(), translike_get_tars(), translike_id_looper(), uiTemplateConstraints(), updateDuplicateActionConstraintSettings(), updateDuplicateKinematicConstraintSettings(), updateDuplicateLocRotConstraintSettings(), and updateDuplicateTransformConstraintSettings().

◆ DNA_DEPRECATED

struct Ipo* ipo bConstraint::DNA_DEPRECATED

Local influence ipo or driver

Definition at line 66 of file DNA_constraint_types.h.

◆ enforce

float bConstraint::enforce

◆ flag

short bConstraint::flag

◆ headtail

float bConstraint::headtail

Point along subtarget bone where the actual target is. 0=head (default for all), 1=tail.

Definition at line 62 of file DNA_constraint_types.h.

Referenced by actcon_get_tarmat(), default_get_tarmat(), default_get_tarmat_full_bbone(), do_version_constraints_245(), kinematic_get_tarmat(), and pycon_get_tarmat().

◆ lin_error

float bConstraint::lin_error

Residual error on constraint expressed in blender unit.

Definition at line 71 of file DNA_constraint_types.h.

Referenced by BKE_constraint_blend_read_data(), copypose_error(), and distance_error().

◆ name

char bConstraint::name[64]

◆ next

struct bConstraint* bConstraint::next

◆ ownspace

char bConstraint::ownspace

◆ prev

struct bConstraint * bConstraint::prev

◆ rot_error

float bConstraint::rot_error

Residual error on constraint expressed in radiant.

Definition at line 73 of file DNA_constraint_types.h.

Referenced by BKE_constraint_blend_read_data(), and copypose_error().

◆ space_object

struct Object* bConstraint::space_object

Object to use as target for Custom Space of owner.

Definition at line 52 of file DNA_constraint_types.h.

Referenced by BKE_constraint_custom_object_space_init(), BKE_constraint_targets_flush(), BKE_constraint_targets_get(), and con_invoke_id_looper().

◆ space_subtarget

char bConstraint::space_subtarget[64]

Subtarget for Custom Space of owner - pchan or vgroup name, MAX_ID_NAME-2.

Definition at line 54 of file DNA_constraint_types.h.

Referenced by BKE_constraint_custom_object_space_init(), BKE_constraint_targets_flush(), and BKE_constraint_targets_get().

◆ tarspace

char bConstraint::tarspace

Space that target should be evaluated in (only used if 1 target).

Definition at line 46 of file DNA_constraint_types.h.

Referenced by blo_do_versions_pre250(), do_version_constraints_245(), is_custom_space_needed(), and updateDuplicateActionConstraintSettings().

◆ type

short bConstraint::type

Constraint type.

Definition at line 39 of file DNA_constraint_types.h.

Referenced by add_new_constraint_internal(), applyarmature_reset_bone_constraint(), BKE_constraint_blend_read_data(), BKE_constraint_blend_read_lib(), BKE_constraint_blend_write(), BKE_constraint_remove_ex(), BKE_constraint_target_uses_bbone(), BKE_constraint_typeinfo_get(), BKE_object_movieclip_get(), BKE_pose_update_constraint_flags(), blo_do_versions_260(), blo_do_versions_280(), blo_do_versions_pre250(), bone_constraint_panel_id(), constraint_bone_name_fix(), constraint_find_original(), constraint_list_find_from_target(), constraintRotLim(), constraints_list_needinv(), constraintSizeLim(), constraintTransLim(), do_version_constraints_245(), do_version_constraints_radians_degrees_250(), do_version_constraints_radians_degrees_270_1(), do_version_constraints_radians_degrees_270_5(), do_version_constraints_stretch_to_limits(), edit_constraint_property_get(), has_targetless_ik(), initialize_posetree(), initialize_scene(), itasc_test_constraint(), joined_armature_fix_links_constraints(), object_constraint_panel_id(), object_track_clear_exec(), OVERLAY_relationship_lines(), pchan_autoik_adjust(), pchan_draw_ik_lines(), pose_channel_in_IK_chain(), pose_grab_with_ik_add(), pose_grab_with_ik_clear(), pose_ik_add_invoke(), pose_ik_clear_exec(), splineik_init_tree_from_pchan(), test_constraint(), text_refresh_pyconstraints_exec(), tree_element_get_icon(), uiTemplateConstraints(), updateDuplicateConstraintSettings(), updateDuplicateLocRotConstraintSettings(), and visualkey_can_use().

◆ ui_expand_flag

short bConstraint::ui_expand_flag

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