Blender V5.3
blender::bKinematicConstraint Struct Reference

#include <DNA_constraint_types.h>

Public Attributes

struct Object * tar = nullptr
short iterations = 0
eKinematic_Flags flag = {}
short rootbone = 0
short max_rootbone = 0
char subtarget [64] = ""
struct Object * poletar = nullptr
char polesubtarget [64] = ""
float poleangle = 0
float weight = 0
float orientweight = 0
float grabtarget [3] = {}
eConstraint_IK_Type type = CONSTRAINT_IK_COPYPOSE
eDistLimit_Modes mode = LIMITDIST_INSIDE
float dist = 0

Detailed Description

Definition at line 744 of file DNA_constraint_types.h.

Member Data Documentation

◆ dist

float blender::bKinematicConstraint::dist = 0

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

Definition at line 774 of file DNA_constraint_types.h.

Referenced by blender::convert_tree(), and blender::distance_callback().

◆ flag

eKinematic_Flags blender::bKinematicConstraint::flag = {}

All & CopyPose: some options Like CONSTRAINT_IK_TIP.

Definition at line 750 of file DNA_constraint_types.h.

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

◆ grabtarget

float blender::bKinematicConstraint::grabtarget[3] = {}

CopyPose: for target-less IK.

Definition at line 768 of file DNA_constraint_types.h.

◆ iterations

short blender::bKinematicConstraint::iterations = 0

All: Maximum number of iterations to try.

Definition at line 748 of file DNA_constraint_types.h.

◆ max_rootbone

short blender::bKinematicConstraint::max_rootbone = 0

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

Definition at line 754 of file DNA_constraint_types.h.

◆ mode

eDistLimit_Modes blender::bKinematicConstraint::mode = LIMITDIST_INSIDE

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

Definition at line 772 of file DNA_constraint_types.h.

Referenced by blender::distance_callback().

◆ orientweight

float blender::bKinematicConstraint::orientweight = 0

CopyPose: Amount of rotation a target applies on chain.

Definition at line 766 of file DNA_constraint_types.h.

Referenced by blender::convert_tree(), and blender::copypose_callback().

◆ poleangle

float blender::bKinematicConstraint::poleangle = 0

◆ polesubtarget

char blender::bKinematicConstraint::polesubtarget[64] = ""

All: Pole vector sub-object target.

Definition at line 760 of file DNA_constraint_types.h.

◆ poletar

struct Object* blender::bKinematicConstraint::poletar = nullptr

All: Pole vector target.

Definition at line 758 of file DNA_constraint_types.h.

Referenced by blender::convert_tree().

◆ rootbone

short blender::bKinematicConstraint::rootbone = 0

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

Definition at line 752 of file DNA_constraint_types.h.

◆ subtarget

char blender::bKinematicConstraint::subtarget[64] = ""

All: String to specify sub-object target.

Definition at line 756 of file DNA_constraint_types.h.

◆ tar

struct Object* blender::bKinematicConstraint::tar = nullptr

All: target object in case constraint needs a target.

Definition at line 746 of file DNA_constraint_types.h.

◆ type

eConstraint_IK_Type blender::bKinematicConstraint::type = CONSTRAINT_IK_COPYPOSE

Sub-type of IK constraint.

Definition at line 770 of file DNA_constraint_types.h.

Referenced by blender::convert_tree().

◆ weight

float blender::bKinematicConstraint::weight = 0

All: Weight of constraint in IK tree.

Definition at line 764 of file DNA_constraint_types.h.

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


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