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_HierarchyBaseReturns 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 fordefault_parent(bool): [Read-Write] When true, it will return the default parent, regardless of whether the parent influences the element or notinclude_child(bool): [Read-Write] If True the child will be included in the list of resultsparents(Array[RigElementKey]): [Read-Write] The resulting array of parentsreverse(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:
- 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)