unreal.RigUnit_ScaleConstraintLocalSpaceOffset

class unreal.RigUnit_ScaleConstraintLocalSpaceOffset(execute_pin: RigVMExecutePin = [], child: RigElementKey = Ellipsis, maintain_offset: bool = False, filter: FilterOptionPerAxis = Ellipsis, parents: None = [], 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] The child to constrain

  • execute_pin (RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable units together

  • filter (FilterOptionPerAxis): [Read-Write] The filter to apply on the transform

  • maintain_offset (bool): [Read-Write] If True the offset will be computed based on the current delta between each child and parent

  • parents (Array[ConstraintParent]): [Read-Write] The array of parents to constrain the child to

  • weight (float): [Read-Write] The weight to use when applying the resulting transform to the child

property child: RigElementKey

[Read-Write] The child to constrain

Type:

(RigElementKey)

property filter: FilterOptionPerAxis

[Read-Write] The filter to apply on the transform

Type:

(FilterOptionPerAxis)

property maintain_offset: bool

[Read-Write] If True the offset will be computed based on the current delta between each child and parent

Type:

(bool)

property parents: None

[Read-Write] The array of parents to constrain the child to

Type:

(Array[ConstraintParent])

property weight: float

[Read-Write] The weight to use when applying the resulting transform to the child

Type:

(float)