unreal.RigVMFunction_MathBoolToFloat

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

Bases: RigVMFunction_MathBoolBase

Turns the given bool into a float value

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathBool.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (float): [Read-Write]

  • value (bool): [Read-Write]

property result: float

[Read-Only]

Type:

(float)

property value: bool

[Read-Write]

Type:

(bool)