unreal.RigUnit_MathBoolOnce

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

Bases: RigUnit_MathBoolBase

Returns true once the first time this node is hit

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 is true Use 0 for a different result every time.

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

property duration: float

[Read-Write] Duration: The duration in seconds at which the result is true Use 0 for a different result every time.

Type:

(float)

property result: bool

[Read-Only] Result

Type:

(bool)