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 (default
'CLAMPTO_AUTO')- Type:
Literal[‘CLAMPTO_AUTO’, ‘CLAMPTO_X’, ‘CLAMPTO_Y’, ‘CLAMPTO_Z’]
- use_cyclic
Treat curve as cyclic curve (no clamping to curve bounding box) (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