type

BoolDelay

class BoolDelay : HxComp

Bool delay

constructors

fields

in

Input to the delay.

offDelay

How long to wait before setting the out slot to false when the in slot transitions to false.

onDelay

How long to wait before setting the out slot to true when the in slot transitions to true.

methods

onChangeThis
onExecute
onExecuteFreq
out

The value of the in slot after any delays are accounted for.

outNot

The inverse of the current out slot.

Slot Details

in

virtual StatusBool? in

Input to the delay.

make

new make()

offDelay

virtual Duration offDelay

How long to wait before setting the out slot to false when the in slot transitions to false.

onChangeThis

virtual override Void onChangeThis(Str slot, Obj? newVal)

onDelay

virtual Duration onDelay

How long to wait before setting the out slot to true when the in slot transitions to true.

onExecute

virtual override Void onExecute()

onExecuteFreq

virtual override Duration? onExecuteFreq()

out

virtual StatusBool? out()

The value of the in slot after any delays are accounted for.

outNot

virtual StatusBool? outNot()

The inverse of the current out slot.