unreal.RigUnit_HierarchyGetParents

class unreal.RigUnit_HierarchyGetParents(child: RigElementKey = Ellipsis, include_child: bool = False, reverse: bool = False, parents: RigElementKeyCollection = Ellipsis)

Bases: RigUnit_HierarchyBase

Returns the item’s parents

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_Hierarchy.h

Editor Properties: (see get_editor_property/set_editor_property)

  • child (RigElementKey): [Read-Write] The child to look up all parents for

  • include_child (bool): [Read-Write] If True the child will be included in the list of results

  • parents (RigElementKeyCollection): [Read-Write] The resulting array of parents

  • reverse (bool): [Read-Write] If True the parents list will be reversed

property child: RigElementKey

[Read-Write] The child to look up all parents for

Type:

(RigElementKey)

property include_child: bool

[Read-Write] If True the child will be included in the list of results

Type:

(bool)

property parents: RigElementKeyCollection

[Read-Only] The resulting array of parents

Type:

(RigElementKeyCollection)

property reverse: bool

[Read-Write] If True the parents list will be reversed

Type:

(bool)