默认每一帧执行时间是33毫秒
来源:4-1 总结流程概览
calimanco
2019-12-24
视频13:52左右,说到每一帧执行时间是22毫秒,但实际代码里是33毫秒,这里应该订正一下吧?
// We start out assuming that we run at 30fps but then the heuristic tracking
// will adjust this value to a faster fps if we get more frequent animation
// frames.
var previousFrameTime = 33;
var activeFrameTime = 33;
写回答
1回答
-
Jokcy
2019-12-26
22毫秒是在每一帧里面留给react执行更新的时间
00
相似问题