unreal.RigUnit_CollectionChildrenArray

class unreal.RigUnit_CollectionChildrenArray(parent: RigElementKey = Ellipsis, include_parent: bool = False, recursive: bool = False, type_to_search: RigElementType = Ellipsis, items: Array[RigElementKey] = [])

Bases: RigUnit_CollectionBase

Creates an item array based on the direct or recursive children of a provided parent item. Returns an empty array for an invalid parent item.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_Collection.h

Editor Properties: (see get_editor_property/set_editor_property)

  • include_parent (bool): [Read-Write] Include Parent

  • items (Array[RigElementKey]): [Read-Write] Items

  • parent (RigElementKey): [Read-Write] Parent

  • recursive (bool): [Read-Write] Recursive

  • type_to_search (RigElementType): [Read-Write] Type to Search

property include_parent: bool

[Read-Write] Include Parent

Type:

(bool)

property items: Array[RigElementKey]

[Read-Only] Items

Type:

(Array[RigElementKey])

property parent: RigElementKey

[Read-Write] Parent

Type:

(RigElementKey)

property recursive: bool

[Read-Write] Recursive

Type:

(bool)

[Read-Write] Type to Search

Type:

(RigElementType)