参考 frameCount

frameCount

Number 变量用来记录绘图启动以来已绘制的帧数。

frameCount 的值在 setup() 函数中为 0,每次 draw() 函数中的代码执行完毕后,它的值就增加 1。

示例

This page is generated from the comments in src/core/environment.js . Please feel free to edit it and submit a pull request!

相关参考