unreal.RigVMFunction_MathBoolOnce

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

Bases: RigVMFunction_MathBoolBase

Returns true once the first time this node is hit

C++ Source:

  • Plugin: RigVM

  • Module: RigVM

  • File: RigVMFunction_MathBool.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • result (bool): [Read-Write]

property duration: float

[Read-Write] 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]

Type:

(bool)