unreal.RigUnit_SetControlBool

class unreal.RigUnit_SetControlBool(execute_context: ControlRigExecuteContext = [], control: Name = 'None', bool_value: bool = False)

Bases: RigUnitMutable

SetControlBool is used to perform a change in the hierarchy by setting a single control’s bool value.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_SetControlTransform.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bool_value (bool): [Read-Write] Bool Value: The bool value to set for the given Control.

  • control (Name): [Read-Write] Control: The name of the Control to set the bool for.

  • execute_context (ControlRigExecuteContext): [Read-Write] Execute Context: * This property is used to chain multiple mutable units together

property bool_value: bool

[Read-Write] Bool Value: The bool value to set for the given Control.

Type:

(bool)

property control: Name

[Read-Write] Control: The name of the Control to set the bool for.

Type:

(Name)