unreal.RigUnit_MathFloatSelectBool
¶
- class unreal.RigUnit_MathFloatSelectBool(condition: bool = False, if_true: float = 0.0, if_false: float = 0.0, result: float = 0.0)¶
Bases:
RigUnit_MathFloatBase
Return one of the two values based on the condition
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_MathFloat.h
Editor Properties: (see get_editor_property/set_editor_property)
condition
(bool): [Read-Write] Conditionif_false
(float): [Read-Write] If Falseif_true
(float): [Read-Write] If Trueresult
(float): [Read-Write] Result