unreal.RigUnit_HierarchyAddControlElement

class unreal.RigUnit_HierarchyAddControlElement(execute_context: ControlRigExecuteContext = [], parent: RigElementKey = Ellipsis, name: Name = 'None', item: RigElementKey = Ellipsis, offset_transform: Transform = Ellipsis)

Bases: RigUnit_HierarchyAddElement

Adds a new control to the hierarchy

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_DynamicHierarchy.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • item (RigElementKey): [Read-Write] * The resulting item

  • name (Name): [Read-Write] * The name of the new element to add

  • offset_transform (Transform): [Read-Write] * The offset transform of the new control

  • parent (RigElementKey): [Read-Write] * The parent of the new element to add

property offset_transform: Transform

[Read-Write] * The offset transform of the new control

Type:

(Transform)