Community ProtoFlux Library/AmasterAmaster/Debug/Tick Delta

From Resonite Wiki
Revision as of 23:18, 22 August 2024 by AmasterAmaster (talk | contribs) (Created a page for the Tick Delta custom node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This is a custom ProtoFlux node maintained by AmasterAmaster. Contact the creator of the node (not the Dev Team) with any bugs or issues.
This node was created using an in-game system and has no correlation to the Plugin system. Currently, these types of custom nodes are not officially supported by Resonite.
Tick Delta
*
Next
OnRegester
TickDelta
TimeSpanFromTick
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

* (Impulses)

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.