ProtoFlux:ElapsedTime: Difference between revisions

From Resonite Wiki
Added category: ContinuouslyChanging nodes
added information on saving behavior
 
(One intermediate revision by one other user not shown)
Line 14: Line 14:


The <code>Elapsed Time</code> node keeps track of how long it has been since the last time it was called. This node starts automatically, and when it is not called, it just uses the world time as the default result. Spawning multiple nodes will show that they keep track of their own individual value.
The <code>Elapsed Time</code> node keeps track of how long it has been since the last time it was called. This node starts automatically, and when it is not called, it just uses the world time as the default result. Spawning multiple nodes will show that they keep track of their own individual value.
Nodes loaded from a save continue their output from the value they had when they were saved. (A [[Type:SyncTime|SyncTime]] is used internally to track how much time has passed.)


== Inputs ==
== Inputs ==

Latest revision as of 21:55, 16 September 2025

Elapsed Time
Reset
OnReset
*
Time

The Elapsed Time node keeps track of how long it has been since the last time it was called. This node starts automatically, and when it is not called, it just uses the world time as the default result. Spawning multiple nodes will show that they keep track of their own individual value.

Nodes loaded from a save continue their output from the value they had when they were saved. (A SyncTime is used internally to track how much time has passed.)

Inputs

Reset (Call)

Calls an impulse to reset the elapsed time.

Outputs

OnReset (Continuation)

Fires after this node has reset their elapsed time value.

* (Pseudo-generic)

Returns the amount of time it has been since this node has been called.