unreal.RigUnit_TransformConstraintPerItem
¶
- class unreal.RigUnit_TransformConstraintPerItem(execute_context: ControlRigExecuteContext = [], item: RigElementKey = Ellipsis, base_transform_space: TransformSpaceMode = Ellipsis, base_transform: Transform = Ellipsis, base_item: RigElementKey = Ellipsis, targets: None = [], use_initial_transforms: bool = False)¶
Bases:
RigUnit_HighlevelBaseMutable
Constrains an item’s transform to multiple items’ transforms
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_TransformConstraint.h
Editor Properties: (see get_editor_property/set_editor_property)
base_item
(RigElementKey): [Read-Write] Transform op option. Use if ETransformSpace is BaseJointbase_transform
(Transform): [Read-Write] Transform op option. Use if ETransformSpace is BaseTransformbase_transform_space
(TransformSpaceMode): [Read-Write]execute_context
(ControlRigExecuteContext): [Read-Write] * This property is used to chain multiple mutable units togetheritem
(RigElementKey): [Read-Write]targets
(Array[ConstraintTarget]): [Read-Write]use_initial_transforms
(bool): [Read-Only] If checked the initial transform will be used for the constraint data
- property base_item: RigElementKey¶
[Read-Write] Transform op option. Use if ETransformSpace is BaseJoint
- Type:
- property base_transform: Transform¶
[Read-Write] Transform op option. Use if ETransformSpace is BaseTransform
- Type:
- property base_transform_space: TransformSpaceMode¶
[Read-Write]
- Type:
- property item: RigElementKey¶
[Read-Write]
- Type: