unreal.RigUnit_CollectionChildren

class unreal.RigUnit_CollectionChildren(parent: RigElementKey = Ellipsis, include_parent: bool = False, recursive: bool = False, type_to_search: RigElementType = Ellipsis, collection: RigElementKeyCollection = Ellipsis)

Bases: RigUnit_CollectionBase

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

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_Collection.h

Editor Properties: (see get_editor_property/set_editor_property)

  • collection (RigElementKeyCollection): [Read-Write] Collection

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

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

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

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

property collection: RigElementKeyCollection

[Read-Only] Collection

Type:

(RigElementKeyCollection)

property include_parent: bool

[Read-Write] Include Parent

Type:

(bool)

property parent: RigElementKey

[Read-Write] Parent

Type:

(RigElementKey)

property recursive: bool

[Read-Write] Recursive

Type:

(bool)

[Read-Write] Type to Search

Type:

(RigElementType)