unreal.RigUnit_HierarchyGetParent

class unreal.RigUnit_HierarchyGetParent(child: RigElementKey = Ellipsis, default_parent: bool = False, parent: RigElementKey = Ellipsis)

Bases: RigUnit_HierarchyBase

Returns the item’s parent

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_Hierarchy.h

Editor Properties: (see get_editor_property/set_editor_property)

  • child (RigElementKey): [Read-Write]

  • default_parent (bool): [Read-Write] When true, it will return the default parent, regardless of whether the parent incluences the element or not

  • parent (RigElementKey): [Read-Write]

property child: RigElementKey

[Read-Write]

Type:

(RigElementKey)

property default_parent: bool

[Read-Write] When true, it will return the default parent, regardless of whether the parent incluences the element or not

Type:

(bool)

property parent: RigElementKey

[Read-Only]

Type:

(RigElementKey)