unreal.RigUnit_SetDefaultParent

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

Bases: RigUnit_DynamicHierarchyBaseMutable

Changes the default parent for an item - this removes all other current parents.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_DynamicHierarchy.h

Editor Properties: (see get_editor_property/set_editor_property)

  • child (RigElementKey): [Read-Write] * The child to be parented under the new default parent

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

  • parent (RigElementKey): [Read-Write] * The default parent to be used for the child

property child: RigElementKey

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

Type:

(RigElementKey)

property parent: RigElementKey

[Read-Write] * The default parent to be used for the child

Type:

(RigElementKey)