Reference+
Name
available()
Class
Movie
Description
Returns "true" when a new movie frame is available to read.
Examples
import processing.video.*; Movie myMovie; void setup() { size(200, 200); frameRate(30); myMovie = new Movie(this, "totoro.mov"); myMovie.loop(); } void draw() { if (myMovie.available()) { myMovie.read(); } image(myMovie, 0, 0); }
Syntax
.available()
Return
boolean
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.