Merge pull request #1022 from mzgoddard/fix-missing-video-sensing-interval

Add back missing Scratch3VideoSensingBlocks.INTERVAL
This commit is contained in:
Ray Schamp 2018-04-05 18:50:51 -04:00 committed by GitHub
commit 9801aa1ded
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,6 +92,15 @@ class Scratch3VideoSensingBlocks {
this._loop(); this._loop();
} }
/**
* After analyzing a frame the amount of milliseconds until another frame
* is analyzed.
* @type {number}
*/
static get INTERVAL () {
return 33;
}
/** /**
* Dimensions the video stream is analyzed at after its rendered to the * Dimensions the video stream is analyzed at after its rendered to the
* sample canvas. * sample canvas.