Closed dotku closed 2 years ago
I found that webGLOverlayView.onDraw will run infinitely, anyway we can stop it if there is no movement?
This codelab is meant to run infinitely. If you want to stop, you can set a conditional to stop recursively calling requestAnimationFrame
requestAnimationFrame
I found that webGLOverlayView.onDraw will run infinitely, anyway we can stop it if there is no movement?