unreal.RigUnit_IsItemInCurrentNameSpace

class unreal.RigUnit_IsItemInCurrentNameSpace(item: RigElementKey = Ellipsis, result: bool = False)

Bases: RigUnit_RigModulesBase

Returns true if the given item has been created by this module, which means that the item’s namespace is the module namespace.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_RigModules.h

Editor Properties: (see get_editor_property/set_editor_property)

  • item (RigElementKey): [Read-Write] * The key of the item to return the namespace for

  • result (bool): [Read-Write] * True if the item is in this namespace / owned by this module.

property item: RigElementKey

[Read-Write] * The key of the item to return the namespace for

Type:

(RigElementKey)

property result: bool

[Read-Only] * True if the item is in this namespace / owned by this module.

Type:

(bool)