unreal.RigUnit_AddParent

class unreal.RigUnit_AddParent(execute_context: ControlRigExecuteContext = [], child: RigElementKey = Ellipsis, parent: RigElementKey = Ellipsis)

Bases: RigUnit_DynamicHierarchyBaseMutable

Adds a new parent to an element. The weight for the new parent will be 0.0. You can use the SetParentWeights node to change the parent weights later.

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 be parented under the new parent

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

  • parent (RigElementKey): [Read-Write] Parent: * The new parent to be added to the child

property child: RigElementKey

[Read-Write] Child: * The child to be parented under the new parent

Type:

(RigElementKey)

property parent: RigElementKey

[Read-Write] Parent: * The new parent to be added to the child

Type:

(RigElementKey)