time_step (获取当前程序运行次数)

time_step()

返回当前程序运行次数,每一帧算一次

返回

运行次数(帧数)

返回类型

int

实际案例

>>> import opt
>>> print(opt.time_step())
60