Calculates the time elapsed since this node started keeping track.
This node is useful for controlling animations. You can connect the
Requested Frame output port of a node that displays a graphics window (such as
Render Scene to Window) to the
Time input port of this node. Starting when an event hits this node’s
Start input port, each time the
Time input port receives an event, the
Elapsed Time port outputs a time relative to the start time. For example, if the
Time input port is receiving events every 1/60 seconds, the
Elapsed Time port outputs a series of values such as 0, 1/60, 2/60, 3/60, … You can use these times to calculate an object’s position or other parameters in an animation.
Time— A time, such as the output from the
Requested Frameport of a graphics window node. Each time value should be greater than the previous one.
Start— When this port receives an event, the node begins (or continues) letting
Pause— When this port receives an event, the node stops letting
Reset— When this port receives an event, the node resets its start time to 0, lets the next
Timeevent through, and then stops letting
Elapsed Time— The difference between the current value of
Timeand the value of
Startgot its first event or
Resetmost recently got an event, not counting any time elapsed while the node was paused.
Keywords: animate, count, cue, elapsed, frame, pause, start, stopwatch