ClampToConstraint(Constraint)
base classes — bpy_struct
, Constraint
- class bpy.types.ClampToConstraint(Constraint)
Constrain an object’s location to the nearest point along the target path
- main_axis
Main axis of movement
- Type
enum in [
'CLAMPTO_AUTO'
,'CLAMPTO_X'
,'CLAMPTO_Y'
,'CLAMPTO_Z'
], default"'CLAMPTO_AUTO'"
- use_cyclic
Treat curve as cyclic curve (no clamping to curve bounding box)
- Type
boolean, default False
- classmethod bl_rna_get_subclass(id, default=None, /)
- Parameters
id (str) – 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 (str) – The RNA type identifier.
- Returns
The class or default when not found.
- Return type
type