unreal.RigUnit_ParentConstraint

class unreal.RigUnit_ParentConstraint(execute_context: ControlRigExecuteContext = [], child: RigElementKey = Ellipsis, maintain_offset: bool = False, filter: TransformFilter = Ellipsis, parents: Array[ConstraintParent] = [], advanced_settings: RigUnit_ParentConstraint_AdvancedSettings = Ellipsis, weight: float = 0.0)

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)

  • advanced_settings (RigUnit_ParentConstraint_AdvancedSettings): [Read-Write] Advanced Settings

  • child (RigElementKey): [Read-Write] Child

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

  • filter (TransformFilter): [Read-Write] Filter

  • maintain_offset (bool): [Read-Write] Maintain Offset

  • parents (Array[ConstraintParent]): [Read-Write] Parents

  • weight (float): [Read-Write] Weight

property advanced_settings: RigUnit_ParentConstraint_AdvancedSettings

[Read-Write] Advanced Settings

Type:

(RigUnit_ParentConstraint_AdvancedSettings)

property child: RigElementKey

[Read-Write] Child

Type:

(RigElementKey)

property filter: TransformFilter

[Read-Write] Filter

Type:

(TransformFilter)

property maintain_offset: bool

[Read-Write] Maintain Offset

Type:

(bool)

property parents: Array[ConstraintParent]

[Read-Write] Parents

Type:

(Array[ConstraintParent])

property weight: float

[Read-Write] Weight

Type:

(float)