DriverVariable(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.DriverVariable(bpy_struct)¶ Variable from some source/target for driver relationship
-
is_name_valid¶ Is this a valid name for a driver variable
- Type
boolean, default False, (readonly)
-
name¶ Name to use in scripted expressions/functions (no spaces or dots are allowed, and must start with a letter)
- Type
string, default “”, (never None)
-
targets¶ Sources of input data for evaluating this variable
- Type
bpy_prop_collectionofDriverTarget, (readonly)
-
type¶ Driver variable type
SINGLE_PROPSingle Property, Use the value from some RNA property (Default).TRANSFORMSTransform Channel, Final transformation value of object or bone.ROTATION_DIFFRotational Difference, Use the angle between two bones.LOC_DIFFDistance, Distance between two bones or objects.
- Type
enum in [‘SINGLE_PROP’, ‘TRANSFORMS’, ‘ROTATION_DIFF’, ‘LOC_DIFF’], default ‘SINGLE_PROP’
-
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
-
Inherited Properties
Inherited Functions
References