TSL Timer Nodes

Regarding the Timer Nodes exported by TimerNode.js, what is the difference between how each of the nodes (timerLocal, timerGlobal) etc are handled. Within TimerNode.js itself, it seems like the implementation of each TimerNode is basically the same.

Time values are managed globally by the renderer with its internal NodeFrame instance. Depending on how your create instances of TimerNode, they indeed report different time values:

  • GLOBAL is the elapsed time with the creation time of the app/renderer as the starting point.
  • LOCAL is the elapsed time with the creation time of the timer object as the starting point.
  • DELTA is the delta time between the current and previous frame.
  • FRAME represents the current frame ID.
2 Likes