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 BaseJoint

  • base_transform (Transform): [Read-Write] Transform op option. Use if ETransformSpace is BaseTransform

  • base_transform_space (TransformSpaceMode): [Read-Write]

  • execute_context (ControlRigExecuteContext): [Read-Write] * This property is used to chain multiple mutable units together

  • item (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:

(RigElementKey)

property base_transform: Transform

[Read-Write] Transform op option. Use if ETransformSpace is BaseTransform

Type:

(Transform)

property base_transform_space: TransformSpaceMode

[Read-Write]

Type:

(TransformSpaceMode)

property item: RigElementKey

[Read-Write]

Type:

(RigElementKey)

property targets: None

[Read-Write]

Type:

(Array[ConstraintTarget])

property use_initial_transforms: bool

[Read-Only] If checked the initial transform will be used for the constraint data

Type:

(bool)