Wait for the next frame to be drawn
| <viztask>.waitDraw() |
This command will create a Condition object that will wait for the next frame to be drawn. You should only use this condition if you need to know the time that the frame was drawn. If you just need to wait a single frame, then use <viztask>.waitFrame, or simply yield None.
The yielded command returns a viz.Data object with the following information about the Condition:
Properties |
|
time |
Display time of the last frame |
viztask.Condition object