![]() |
|
#2
|
|||
|
|||
|
Try using the viz.getFrameTime command. The frame time will not increase when viz.pause is called:
Code:
'''
Press 1 to play
Press 2 to pause
'''
import viz
import vizact
import vizinfo
viz.go()
vizinfo.InfoPanel()
viz.pause()
def printTime():
print viz.getFrameTime()
vizact.ontimer(0,printTime)
vizact.onkeydown('1',viz.play)
vizact.onkeydown('2',viz.pause)
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Timer events within a Tkinter class | kevin | Vizard | 2 | 07-29-2011 01:10 PM |
| Question about Vizard Expiration Timer Rate | mizutani_jun | Vizard | 2 | 02-23-2011 10:13 PM |
| Timer event in viztask | GiudiceLab | Vizard | 1 | 10-07-2010 01:14 PM |
| timer question again | Elittdogg | Vizard | 3 | 10-18-2007 11:29 AM |
| Timer speed | Jerry | Vizard | 1 | 12-08-2006 12:01 PM |