Blender V5.3
blender::bTransformConstraint Struct Reference

#include <DNA_constraint_types.h>

Public Attributes

struct Object * tar = nullptr
char subtarget [64] = ""
eTransform_ToFrom from = TRANS_LOCATION
eTransform_ToFrom to = TRANS_LOCATION
char map [3] = ""
char expo = 0
char from_rotation_mode = 0
eConstraint_EulerOrder to_euler_order = CONSTRAINT_EULER_AUTO
eTransform_MixModeLoc mix_mode_loc = TRANS_MIXLOC_ADD
eTransform_MixModeRot mix_mode_rot = TRANS_MIXROT_ADD
eTransform_MixModeScale mix_mode_scale = TRANS_MIXSCALE_REPLACE
char _pad [3] = {}
float from_min [3] = {}
float from_max [3] = {}
float to_min [3] = {}
float to_max [3] = {}
float from_min_rot [3] = {}
float from_max_rot [3] = {}
float to_min_rot [3] = {}
float to_max_rot [3] = {}
float from_min_scale [3] = {}
float from_max_scale [3] = {}
float to_min_scale [3] = {}
float to_max_scale [3] = {}

Detailed Description

Definition at line 1008 of file DNA_constraint_types.h.

Member Data Documentation

◆ _pad

char blender::bTransformConstraint::_pad[3] = {}

Definition at line 1030 of file DNA_constraint_types.h.

◆ expo

char blender::bTransformConstraint::expo = 0

Extrapolate motion? if 0, confine to ranges.

Definition at line 1018 of file DNA_constraint_types.h.

◆ from

eTransform_ToFrom blender::bTransformConstraint::from = TRANS_LOCATION

Can be loc(0), rot(1) or size(2).

Definition at line 1014 of file DNA_constraint_types.h.

Referenced by blender::update_duplicate_transform_constraint_settings().

◆ from_max

float blender::bTransformConstraint::from_max[3] = {}

To map on to to_min/max range.

Definition at line 1035 of file DNA_constraint_types.h.

Referenced by blender::update_duplicate_transform_constraint_settings().

◆ from_max_rot

float blender::bTransformConstraint::from_max_rot[3] = {}

To map on to to_min/max range.

Definition at line 1043 of file DNA_constraint_types.h.

Referenced by blender::update_duplicate_transform_constraint_settings().

◆ from_max_scale

float blender::bTransformConstraint::from_max_scale[3] = {}

To map on to to_min/max range.

Definition at line 1051 of file DNA_constraint_types.h.

◆ from_min

float blender::bTransformConstraint::from_min[3] = {}

From_min/max defines range of target transform.

Definition at line 1033 of file DNA_constraint_types.h.

Referenced by blender::update_duplicate_transform_constraint_settings().

◆ from_min_rot

float blender::bTransformConstraint::from_min_rot[3] = {}

From_min/max defines range of target transform.

Definition at line 1041 of file DNA_constraint_types.h.

Referenced by blender::update_duplicate_transform_constraint_settings().

◆ from_min_scale

float blender::bTransformConstraint::from_min_scale[3] = {}

From_min/max defines range of target transform.

Definition at line 1049 of file DNA_constraint_types.h.

◆ from_rotation_mode

char blender::bTransformConstraint::from_rotation_mode = 0

Input rotation type - uses the same values as driver targets.

Definition at line 1021 of file DNA_constraint_types.h.

◆ map

char blender::bTransformConstraint::map[3] = ""

Defines which target-axis deform is copied by each owner-axis.

Definition at line 1016 of file DNA_constraint_types.h.

Referenced by blender::update_duplicate_transform_constraint_settings().

◆ mix_mode_loc

eTransform_MixModeLoc blender::bTransformConstraint::mix_mode_loc = TRANS_MIXLOC_ADD

Mixing modes for location, rotation, and scale.

Definition at line 1026 of file DNA_constraint_types.h.

◆ mix_mode_rot

eTransform_MixModeRot blender::bTransformConstraint::mix_mode_rot = TRANS_MIXROT_ADD

Definition at line 1027 of file DNA_constraint_types.h.

◆ mix_mode_scale

eTransform_MixModeScale blender::bTransformConstraint::mix_mode_scale = TRANS_MIXSCALE_REPLACE

Definition at line 1028 of file DNA_constraint_types.h.

◆ subtarget

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

◆ tar

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

Target (i.e. 'driver' object/bone).

Definition at line 1010 of file DNA_constraint_types.h.

◆ to

eTransform_ToFrom blender::bTransformConstraint::to = TRANS_LOCATION

◆ to_euler_order

eConstraint_EulerOrder blender::bTransformConstraint::to_euler_order = CONSTRAINT_EULER_AUTO

Output euler order override.

Definition at line 1023 of file DNA_constraint_types.h.

◆ to_max

float blender::bTransformConstraint::to_max[3] = {}

◆ to_max_rot

float blender::bTransformConstraint::to_max_rot[3] = {}

◆ to_max_scale

float blender::bTransformConstraint::to_max_scale[3] = {}

◆ to_min

float blender::bTransformConstraint::to_min[3] = {}

Range of motion on owner caused by target.

Definition at line 1037 of file DNA_constraint_types.h.

Referenced by blender::update_duplicate_transform_constraint_settings().

◆ to_min_rot

float blender::bTransformConstraint::to_min_rot[3] = {}

Range of motion on owner caused by target.

Definition at line 1045 of file DNA_constraint_types.h.

Referenced by blender::update_duplicate_transform_constraint_settings().

◆ to_min_scale

float blender::bTransformConstraint::to_min_scale[3] = {}

Range of motion on owner caused by target.

Definition at line 1053 of file DNA_constraint_types.h.

Referenced by blender::update_duplicate_transform_constraint_settings().


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