DriverTarget(bpy_struct)¶
base class — bpy_struct
- class bpy.types.DriverTarget(bpy_struct)¶
Source of input values for driver variables
- bone_target¶
Name of PoseBone to use as target
- Type
string, default “”, (never None)
- data_path¶
RNA Path (from ID-block) to property used
- Type
string, default “”, (never None)
- id¶
ID-block that the specific property used can be found from (id_type property must be set first)
- Type
- id_type¶
Type of ID-block that can be used
- Type
enum in [‘ACTION’, ‘ARMATURE’, ‘BRUSH’, ‘CAMERA’, ‘CACHEFILE’, ‘CURVE’, ‘FONT’, ‘GREASEPENCIL’, ‘COLLECTION’, ‘IMAGE’, ‘KEY’, ‘LIGHT’, ‘LIBRARY’, ‘LINESTYLE’, ‘LATTICE’, ‘MASK’, ‘MATERIAL’, ‘META’, ‘MESH’, ‘MOVIECLIP’, ‘NODETREE’, ‘OBJECT’, ‘PAINTCURVE’, ‘PALETTE’, ‘PARTICLE’, ‘LIGHT_PROBE’, ‘SCENE’, ‘SIMULATION’, ‘SOUND’, ‘SPEAKER’, ‘TEXT’, ‘TEXTURE’, ‘HAIR’, ‘POINTCLOUD’, ‘VOLUME’, ‘WINDOWMANAGER’, ‘WORLD’, ‘WORKSPACE’], default ‘OBJECT’
- rotation_mode¶
Mode for calculating rotation channel values
AUTOAuto Euler, Euler using the rotation order of the target.XYZXYZ Euler, Euler using the XYZ rotation order.XZYXZY Euler, Euler using the XZY rotation order.YXZYXZ Euler, Euler using the YXZ rotation order.YZXYZX Euler, Euler using the YZX rotation order.ZXYZXY Euler, Euler using the ZXY rotation order.ZYXZYX Euler, Euler using the ZYX rotation order.QUATERNIONQuaternion, Quaternion rotation.SWING_TWIST_XSwing and X Twist, Decompose into a swing rotation to aim the X axis, followed by twist around it.SWING_TWIST_YSwing and Y Twist, Decompose into a swing rotation to aim the Y axis, followed by twist around it.SWING_TWIST_ZSwing and Z Twist, Decompose into a swing rotation to aim the Z axis, followed by twist around it.
- Type
enum in [‘AUTO’, ‘XYZ’, ‘XZY’, ‘YXZ’, ‘YZX’, ‘ZXY’, ‘ZYX’, ‘QUATERNION’, ‘SWING_TWIST_X’, ‘SWING_TWIST_Y’, ‘SWING_TWIST_Z’], default ‘AUTO’
- transform_space¶
Space in which transforms are used
WORLD_SPACEWorld Space, Transforms include effects of parenting/restpose and constraints.TRANSFORM_SPACETransform Space, Transforms don’t include parenting/restpose or constraints.LOCAL_SPACELocal Space, Transforms include effects of constraints but not parenting/restpose.
- Type
enum in [‘WORLD_SPACE’, ‘TRANSFORM_SPACE’, ‘LOCAL_SPACE’], default ‘WORLD_SPACE’
- transform_type¶
Driver variable type
- Type
enum in [‘LOC_X’, ‘LOC_Y’, ‘LOC_Z’, ‘ROT_X’, ‘ROT_Y’, ‘ROT_Z’, ‘ROT_W’, ‘SCALE_X’, ‘SCALE_Y’, ‘SCALE_Z’, ‘SCALE_AVG’], default ‘LOC_X’
- classmethod bl_rna_get_subclass(id, default=None)¶
- Parameters
id (string) – The RNA type identifier.
- Returns
The RNA type or default when not found.
- Return type
bpy.types.Structsubclass
- classmethod bl_rna_get_subclass_py(id, default=None)¶
- Parameters
id (string) – The RNA type identifier.
- Returns
The class or default when not found.
- Return type
type
Inherited Properties
Inherited Functions
References