unreal.RigUnit_ScaleConstraintLocalSpaceOffset

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

Bases: RigUnit_HighlevelBaseMutable

Constrains an item’s scale to multiple items’ scales

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_TransformConstraint.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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

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

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

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

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

property child: RigElementKey

[Read-Write] Child

Type:

(RigElementKey)

property filter: FilterOptionPerAxis

[Read-Write] Filter

Type:

(FilterOptionPerAxis)

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)