unreal.RigUnit_HierarchyGetParent¶
- class unreal.RigUnit_HierarchyGetParent(child: RigElementKey = Ellipsis, default_parent: bool = False, parent: RigElementKey = Ellipsis)¶
Bases:
RigUnit_HierarchyBaseReturns 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] The child to look up the parent fordefault_parent(bool): [Read-Write] When true, it will return the default parent, regardless of whether the parent influences the element or notparent(RigElementKey): [Read-Write] The resulting parent of the input child
- property child: RigElementKey¶
[Read-Write] The child to look up the parent 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 parent: RigElementKey¶
[Read-Only] The resulting parent of the input child
- Type: