LimitRotationConstraint(Constraint)
base classes — bpy_struct, Constraint
- class bpy.types.LimitRotationConstraint(Constraint)
Limit the rotation of the constrained object
- euler_order
Explicitly specify the euler rotation order
AUTODefault – Euler using the default rotation order.XYZXYZ Euler – Euler using the XYZ rotation order.XZYXZY Euler – Euler using the XZY rotation order.YXZYXZ Euler – Euler using the YXZ rotation order.YZXYZX Euler – Euler using the YZX rotation order.ZXYZXY Euler – Euler using the ZXY rotation order.ZYXZYX Euler – Euler using the ZYX rotation order.
- Type:
enum in [
'AUTO','XYZ','XZY','YXZ','YZX','ZXY','ZYX'], default"'AUTO'"
- max_x
Upper X angle bound
- Type:
float in [-1000, 1000], default 0.0
- max_y
Upper Y angle bound
- Type:
float in [-1000, 1000], default 0.0
- max_z
Upper Z angle bound
- Type:
float in [-1000, 1000], default 0.0
- min_x
Lower X angle bound
- Type:
float in [-1000, 1000], default 0.0
- min_y
Lower Y angle bound
- Type:
float in [-1000, 1000], default 0.0
- min_z
Lower Z angle bound
- Type:
float in [-1000, 1000], default 0.0
- use_legacy_behavior
Use the old semi-broken behavior that does not understand that rotations loop around
- Type:
boolean, default False
- use_limit_x
Use the minimum X value
- Type:
boolean, default False
- use_limit_y
Use the minimum Y value
- Type:
boolean, default False
- use_limit_z
Use the minimum Z value
- Type:
boolean, default False
- use_transform_limit
Transform tools are affected by this constraint as well
- 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.Structsubclass
- 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