CopyLocationConstraint(Constraint)¶
base classes — bpy_struct, Constraint
- class bpy.types.CopyLocationConstraint(Constraint)¶
Copy the location of the target
- head_tail¶
Target along length of bone: Head is 0, Tail is 1 (in [0, 1], default 0.0)
- Type:
float
- invert_x¶
Invert the X location (default False)
- Type:
bool
- invert_y¶
Invert the Y location (default False)
- Type:
bool
- invert_z¶
Invert the Z location (default False)
- Type:
bool
- subtarget¶
Armature bone, mesh or lattice vertex group, … (default “”, never None)
- Type:
str
- use_bbone_shape¶
Follow shape of B-Bone segments when calculating Head/Tail position (default False)
- Type:
bool
- use_offset¶
Add original location into copied location (default False)
- Type:
bool
- use_x¶
Copy the target’s X location (default False)
- Type:
bool
- use_y¶
Copy the target’s Y location (default False)
- Type:
bool
- use_z¶
Copy the target’s Z location (default False)
- Type:
bool
- classmethod bl_rna_get_subclass(id, default=None, /)¶
- Parameters:
id (str) – The RNA type identifier.
default (
bpy.types.Struct| None) – The value to return when not found.
- Returns:
The RNA type or default when not found.
- Return type:
- classmethod bl_rna_get_subclass_py(id, default=None, /)¶
- Parameters:
id (str) – The RNA type identifier.
default (type | None) – The value to return when not found.
- Returns:
The class or default when not found.
- Return type:
type