absTime Class

From TouchDesigner 099 Wiki


This class contains information on the "absolute time", the time TouchDesigner has been running since the process started. It can be accessed with the abstime object, found in the automatically imported td module. It is paused only with the power on/off button at the top of the UI, or with the power() method in the td module. Absolute time is the same for all nodes and is not affected by the pausing any component's timeline. See absolute time.


Members

frame (Read Only) Absolute total number of frames played since the application started. Paused only with the power On/Off or with power()

Example: absTime.frame

Example: tdu.rand(absTime.frame + .1) # a unique random number that is consistent across all nodes, changing every frame

seconds (Read Only) Absolute total seconds played since the application started. Paused only with the power On/Off or with power().
step (Read Only) Number of absolute frames elapsed between start of previous and current frame. When this value is greater than 1, the system is dropping frames.
stepSeconds (Read Only) Absolute time elapsed between start of previous and current frame.


Methods

No operator specific methods.