unreal.RigUnit_MathBoolToInteger

class unreal.RigUnit_MathBoolToInteger(value: bool = False, result: int = 0)

Bases: RigUnit_MathBoolBase

Turns the given bool into an integer value

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathBool.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (int32): [Read-Write] Result

  • value (bool): [Read-Write] Value

property result: int

[Read-Only] Result

Type:

(int32)

property value: bool

[Read-Write] Value

Type:

(bool)