Stopwatch (LogiX node)
Jump to navigation
Jump to search
Stopwatch | ||
---|---|---|
![]() | ||
Inputs | ||
Impulse | Start | |
Impulse | Stop | |
Impulse | Reset | |
Outputs | ||
Impulse | OnStart | |
Impulse | OnStop | |
Impulse | OnReset | |
Float | Time | |
Bool | IsRunning |
The Stopwatch node functions like a stopwatch, allowing for discontinuous timing of a collection of events.
Usage
This node functions similarly to the Elapsed Time node, but contains inputs for stopping, resuming, and resetting the counter, along with output impulses for each respective input impulse. In addition to impulses, the node has a float
output for the current time, and a bool
output depending on if the stopwatch is running or not.
Examples
The following video showcases using the stopwatch node to create an in-world stopwatch. For clarity, the LogiX Interface nodes driving the text have been hidden, but all reference arrows points towards the Text
value on each object's TextRenderer component.