unreal.RigUnit_CollectionItems

class unreal.RigUnit_CollectionItems(items: Array[RigElementKey] = [], allow_duplicates: bool = False, collection: RigElementKeyCollection = Ellipsis)

Bases: RigUnit_CollectionBase

Returns a collection provided a specific array of items.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_Collection.h

Editor Properties: (see get_editor_property/set_editor_property)

  • allow_duplicates (bool): [Read-Write] Allow Duplicates

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

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

property allow_duplicates: bool

[Read-Write] Allow Duplicates

Type:

(bool)

property collection: RigElementKeyCollection

[Read-Only] Collection

Type:

(RigElementKeyCollection)

property items: Array[RigElementKey]

[Read-Write] Items

Type:

(Array[RigElementKey])