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: Array[ConstraintTarget] = [], 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] Base Item: Transform op option. Use if ETransformSpace is BaseJoint

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

  • base_transform_space (TransformSpaceMode): [Read-Write] Base Transform Space

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

  • item (RigElementKey): [Read-Write] Item

  • targets (Array[ConstraintTarget]): [Read-Write] Targets

  • use_initial_transforms (bool): [Read-Only] Use Initial Transforms: If checked the initial transform will be used for the constraint data

property base_item: RigElementKey

[Read-Write] Base Item: Transform op option. Use if ETransformSpace is BaseJoint

Type:

(RigElementKey)

property base_transform: Transform

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

Type:

(Transform)

property base_transform_space: TransformSpaceMode

[Read-Write] Base Transform Space

Type:

(TransformSpaceMode)

property item: RigElementKey

[Read-Write] Item

Type:

(RigElementKey)

property targets: Array[ConstraintTarget]

[Read-Write] Targets

Type:

(Array[ConstraintTarget])

property use_initial_transforms: bool

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

Type:

(bool)