unreal.RigUnit_HierarchyGetParentsItemArray

class unreal.RigUnit_HierarchyGetParentsItemArray(child: RigElementKey = Ellipsis, include_child: bool = False, reverse: bool = False, default_parent: bool = False, parents: None = [])

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 the parents for

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

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

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

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

property child: RigElementKey

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

Type:

(RigElementKey)

property default_parent: bool

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

Type:

(bool)

property include_child: bool

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

Type:

(bool)

property parents: None

[Read-Only] The resulting array of parents

Type:

(Array[RigElementKey])

property reverse: bool

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

Type:

(bool)