Blender V4.3
bKinematicConstraint Struct Reference

#include <DNA_constraint_types.h>

Public Attributes

struct Objecttar
 
short iterations
 
short flag
 
short rootbone
 
short max_rootbone
 
char subtarget [64]
 
struct Objectpoletar
 
char polesubtarget [64]
 
float poleangle
 
float weight
 
float orientweight
 
float grabtarget [3]
 
short type
 
short mode
 
float dist
 

Detailed Description

Definition at line 155 of file DNA_constraint_types.h.

Member Data Documentation

◆ dist

float bKinematicConstraint::dist

Distance: distance (radius of clamping sphere) from target.

Definition at line 185 of file DNA_constraint_types.h.

Referenced by convert_tree(), and distance_callback().

◆ flag

short bKinematicConstraint::flag

All & CopyPose: some options Like CONSTRAINT_IK_TIP.

Definition at line 161 of file DNA_constraint_types.h.

Referenced by add_temporary_ik_constraint(), BKE_constraint_blend_read_data(), blo_do_versions_pre250(), convert_tree(), and execute_posetree().

◆ grabtarget

float bKinematicConstraint::grabtarget[3]

CopyPose: for target-less IK.

Definition at line 179 of file DNA_constraint_types.h.

◆ iterations

short bKinematicConstraint::iterations

All: Maximum number of iterations to try.

Definition at line 159 of file DNA_constraint_types.h.

◆ max_rootbone

short bKinematicConstraint::max_rootbone

CopyPose: for auto-ik, maximum length of chain.

Definition at line 165 of file DNA_constraint_types.h.

◆ mode

short bKinematicConstraint::mode

Distance: how to limit in relation to clamping sphere: LIMITDIST_...

Definition at line 183 of file DNA_constraint_types.h.

Referenced by distance_callback().

◆ orientweight

float bKinematicConstraint::orientweight

CopyPose: Amount of rotation a target applies on chain.

Definition at line 177 of file DNA_constraint_types.h.

Referenced by convert_tree(), and copypose_callback().

◆ poleangle

float bKinematicConstraint::poleangle

◆ polesubtarget

char bKinematicConstraint::polesubtarget[64]

All: Pole vector sub-object target, MAX_ID_NAME-2.

Definition at line 171 of file DNA_constraint_types.h.

◆ poletar

struct Object* bKinematicConstraint::poletar

All: Pole vector target.

Definition at line 169 of file DNA_constraint_types.h.

Referenced by convert_tree().

◆ rootbone

short bKinematicConstraint::rootbone

All: index to rootbone, if zero go all the way to mother bone.

Definition at line 163 of file DNA_constraint_types.h.

Referenced by pchan_autoik_adjust().

◆ subtarget

char bKinematicConstraint::subtarget[64]

All: String to specify sub-object target, MAX_ID_NAME-2.

Definition at line 167 of file DNA_constraint_types.h.

◆ tar

struct Object* bKinematicConstraint::tar

All: target object in case constraint needs a target.

Definition at line 157 of file DNA_constraint_types.h.

Referenced by blender::ed::object::test_constraint().

◆ type

short bKinematicConstraint::type

Sub-type of IK constraint: eConstraint_IK_Type.

Definition at line 181 of file DNA_constraint_types.h.

Referenced by convert_tree().

◆ weight

float bKinematicConstraint::weight

All: Weight of constraint in IK tree.

Definition at line 175 of file DNA_constraint_types.h.

Referenced by convert_tree(), copypose_callback(), distance_callback(), and kinematic_new_data().


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