unreal.RigUnit_MathBoolToFloat

class unreal.RigUnit_MathBoolToFloat(value: bool = False, result: float = 0.0)

Bases: RigUnit_MathBoolBase

Turns the given bool into a float value

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathBool.h

Editor Properties: (see get_editor_property/set_editor_property)

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

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

property result: float

[Read-Only] Result

Type:

(float)

property value: bool

[Read-Write] Value

Type:

(bool)