Vizard 7 » Command Index » Vizard modules » viz » <viz>.getFrameTime
7.6

<viz>.getFrameTime

Get simulation time of the current frame

<viz>.getFrameTime()  

Remarks

This command will return the simulation time of the current frame. While the script is loading, this command will return 0.

Return Value

Simulation time in seconds

Example

time = viz.getFrameTime()

See also

<viz>.getFrameElapsed
<viz>.getFrameNumber