unreal.RigVMFunction_MathFloatSelectBool

class unreal.RigVMFunction_MathFloatSelectBool(condition: bool = False, if_true: float = 0.0, if_false: float = 0.0, result: float = 0.0)

Bases: RigVMFunction_MathFloatBase

Return one of the two values based on the condition

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathFloat.h

Editor Properties: (see get_editor_property/set_editor_property)

  • condition (bool): [Read-Write]

  • if_false (float): [Read-Write]

  • if_true (float): [Read-Write]

  • result (float): [Read-Write]

property condition: bool

[Read-Write]

Type:

(bool)

property if_false: float

[Read-Write]

Type:

(float)

property if_true: float

[Read-Write]

Type:

(float)

property result: float

[Read-Only]

Type:

(float)