Community ProtoFlux Library/AmasterAmaster/Debug/Tick Delta: Difference between revisions
From Resonite Wiki
Fixed node visual. |
Style - Forgot it was "Call". |
||
Line 24: | Line 24: | ||
== Inputs == | == Inputs == | ||
=== * ([[Impulses]]) === | === * ([[Impulses|Call]]) === | ||
Calls this node to compare against the registered tick and now. | Calls this node to compare against the registered tick and now. |
Latest revision as of 03:21, 23 August 2024
Tick Delta
Amaster's Debug Library
The Tick Delta node acts like a pass through for ProtoFlux, and gets the current tick at this very moment when impulsed, however, this node does a comparison check against any previously registered tick and returns the results.
This is combined with the Register Current Tick node, to compare against the difference between the two ticks.
Inputs
* (Call)
Calls this node to compare against the registered tick and now.
Outputs
Next (Continuation)
Continues the code from here.
OnRegister (Continuation)
Sends and impulse when a new tick time is registered.
TickDelta (Long)
Returns the difference (or the delta) of the amount of ticks between when it was registered and now.
TimeSpanFromTick (TimeSpan)
Returns the timespan variant of the tick delta.