mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Merge pull request #1022 from mzgoddard/fix-missing-video-sensing-interval
Add back missing Scratch3VideoSensingBlocks.INTERVAL
This commit is contained in:
commit
9801aa1ded
1 changed files with 9 additions and 0 deletions
|
@ -92,6 +92,15 @@ class Scratch3VideoSensingBlocks {
|
|||
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
|
||||
* sample canvas.
|
||||
|
|
Loading…
Reference in a new issue