unreal.RigUnit_ShapeExists

class unreal.RigUnit_ShapeExists(shape_name: Name = 'None', result: bool = False)

Bases: RigUnit

Checks whether or not a shape is available in the rig’s shape libraries

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_UserData.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (bool): [Read-Write] * True if the shape name exists in any of the shape libraries

  • shape_name (Name): [Read-Write] * The name of the shape to search for

property result: bool

[Read-Only] * True if the shape name exists in any of the shape libraries

Type:

(bool)

property shape_name: Name

[Read-Write] * The name of the shape to search for

Type:

(Name)