unreal.RigUnit_FilterItemsByMetadataTags

class unreal.RigUnit_FilterItemsByMetadataTags(items: Array[RigElementKey] = [], tags: Array[Name] = [], inclusive: bool = False, result: Array[RigElementKey] = [])

Bases: RigUnit

Filters an item array by a list of tags

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_Metadata.h

Editor Properties: (see get_editor_property/set_editor_property)

  • inclusive (bool): [Read-Write] Inclusive: If set to true only items with ALL of tags will be returned, if set to false items with ANY of the tags will be removed

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

  • result (Array[RigElementKey]): [Read-Write] Result: The results of the filter

  • tags (Array[Name]): [Read-Write] Tags: The tags to find

property inclusive: bool

[Read-Write] Inclusive: If set to true only items with ALL of tags will be returned, if set to false items with ANY of the tags will be removed

Type:

(bool)

property items: Array[RigElementKey]

[Read-Write] Items: The items to filter

Type:

(Array[RigElementKey])

property result: Array[RigElementKey]

[Read-Only] Result: The results of the filter

Type:

(Array[RigElementKey])

property tags: Array[Name]

[Read-Write] Tags: The tags to find

Type:

(Array[Name])