unreal.RigUnit_HierarchySetParentWeights

class unreal.RigUnit_HierarchySetParentWeights(execute_context: ControlRigExecuteContext = [], child: RigElementKey = Ellipsis, weights: Array[RigElementWeight] = [])

Bases: RigUnit_DynamicHierarchyBaseMutable

Sets the item’s parents’ weights

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_DynamicHierarchy.h

Editor Properties: (see get_editor_property/set_editor_property)

  • child (RigElementKey): [Read-Write] Child: * The child to set the parents’ weights for

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

  • weights (Array[RigElementWeight]): [Read-Write] Weights: * The weights to set for the child’s parents. * The number of weights needs to match the current number of parents.

property child: RigElementKey

[Read-Write] Child: * The child to set the parents’ weights for

Type:

(RigElementKey)

property weights: Array[RigElementWeight]

[Read-Write] Weights: * The weights to set for the child’s parents. * The number of weights needs to match the current number of parents.

Type:

(Array[RigElementWeight])