unreal.RigUnit_HasMetadata

class unreal.RigUnit_HasMetadata(item: RigElementKey = Ellipsis, name: Name = 'None', type: RigMetadataType = Ellipsis, found: bool = False)

Bases: RigUnit

Returns true if a given item in the hierarchy has a specific set of metadata

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_Metadata.h

Editor Properties: (see get_editor_property/set_editor_property)

  • found (bool): [Read-Write] Found: True if the item has the metadata

  • item (RigElementKey): [Read-Write] Item: The item to check the metadata for

  • name (Name): [Read-Write] Name: The name of the metadata to check

  • type (RigMetadataType): [Read-Write] Type: The type of metadata to check for

property found: bool

[Read-Only] Found: True if the item has the metadata

Type:

(bool)

property item: RigElementKey

[Read-Write] Item: The item to check the metadata for

Type:

(RigElementKey)

property name: Name

[Read-Write] Name: The name of the metadata to check

Type:

(Name)

property type: RigMetadataType

[Read-Write] Type: The type of metadata to check for

Type:

(RigMetadataType)