unreal.RigUnit_MathBoolFlipFlop

class unreal.RigUnit_MathBoolFlipFlop(start_value: bool = False, duration: float = 0.0, result: bool = False)

Bases: RigUnit_MathBoolBase

Returns true and false as a sequence.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_MathBool.h

Editor Properties: (see get_editor_property/set_editor_property)

  • duration (float): [Read-Write] Duration: The duration in seconds at which the result won’t change. Use 0 for a different result every time.

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

  • start_value (bool): [Read-Write] Start Value: The initial value to use for the flag

property duration: float

[Read-Write] Duration: The duration in seconds at which the result won’t change. Use 0 for a different result every time.

Type:

(float)

property result: bool

[Read-Only] Result

Type:

(bool)

property start_value: bool

[Read-Write] Start Value: The initial value to use for the flag

Type:

(bool)