unreal.RigUnit_CollectionItems

class unreal.RigUnit_CollectionItems(items: None = [], 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]

  • collection (RigElementKeyCollection): [Read-Write]

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

property allow_duplicates: bool

[Read-Write]

Type:

(bool)

property collection: RigElementKeyCollection

[Read-Only]

Type:

(RigElementKeyCollection)

property items: None

[Read-Write]

Type:

(Array[RigElementKey])