Blender V5.0
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 114 of file DNA_constraint_types.h.

Member Data Documentation

◆ dist

float bKinematicConstraint::dist

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

Definition at line 144 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 120 of file DNA_constraint_types.h.

Referenced by blender::ed::transform::add_temporary_ik_constraint(), and convert_tree().

◆ grabtarget

float bKinematicConstraint::grabtarget[3]

CopyPose: for target-less IK.

Definition at line 138 of file DNA_constraint_types.h.

◆ iterations

short bKinematicConstraint::iterations

All: Maximum number of iterations to try.

Definition at line 118 of file DNA_constraint_types.h.

◆ max_rootbone

short bKinematicConstraint::max_rootbone

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

Definition at line 124 of file DNA_constraint_types.h.

◆ mode

short bKinematicConstraint::mode

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

Definition at line 142 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 136 of file DNA_constraint_types.h.

Referenced by convert_tree(), and copypose_callback().

◆ poleangle

float bKinematicConstraint::poleangle

All: Pole vector rest angle.

Definition at line 132 of file DNA_constraint_types.h.

Referenced by base_callback(), execute_posetree(), and update_duplicate_kinematics_constraint_settings().

◆ polesubtarget

char bKinematicConstraint::polesubtarget[64]

All: Pole vector sub-object target.

Definition at line 130 of file DNA_constraint_types.h.

◆ poletar

struct Object* bKinematicConstraint::poletar

All: Pole vector target.

Definition at line 128 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 122 of file DNA_constraint_types.h.

◆ subtarget

char bKinematicConstraint::subtarget[64]

All: String to specify sub-object target.

Definition at line 126 of file DNA_constraint_types.h.

◆ tar

struct Object* bKinematicConstraint::tar

All: target object in case constraint needs a target.

Definition at line 116 of file DNA_constraint_types.h.

◆ type

short bKinematicConstraint::type

Sub-type of IK constraint: eConstraint_IK_Type.

Definition at line 140 of file DNA_constraint_types.h.

Referenced by convert_tree().

◆ weight

float bKinematicConstraint::weight

All: Weight of constraint in IK tree.

Definition at line 134 of file DNA_constraint_types.h.

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


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