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
-
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’, ‘SOUND’, ‘SPEAKER’, ‘TEXT’, ‘TEXTURE’, ‘WINDOWMANAGER’, ‘WORLD’, ‘WORKSPACE’], default ‘OBJECT’
-
rotation_mode
¶ Mode for calculating rotation channel values
AUTO
Auto Euler, Euler using the rotation order of the target.XYZ
XYZ Euler, Euler using the XYZ rotation order.XZY
XZY Euler, Euler using the XZY rotation order.YXZ
YXZ Euler, Euler using the YXZ rotation order.YZX
YZX Euler, Euler using the YZX rotation order.ZXY
ZXY Euler, Euler using the ZXY rotation order.ZYX
ZYX Euler, Euler using the ZYX rotation order.QUATERNION
Quaternion, Quaternion rotation.SWING_TWIST_X
Swing and X Twist, Decompose into a swing rotation to aim the X axis, followed by twist around it.SWING_TWIST_Y
Swing and Y Twist, Decompose into a swing rotation to aim the Y axis, followed by twist around it.SWING_TWIST_Z
Swing 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_SPACE
World Space, Transforms include effects of parenting/restpose and constraints.TRANSFORM_SPACE
Transform Space, Transforms don’t include parenting/restpose or constraints.LOCAL_SPACE
Local 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.Struct
subclass
-
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