gestalt.texture
Class MovieProducer
java.lang.Object
gestalt.texture.MovieProducer
public class MovieProducer
- extends java.lang.Object
|
Constructor Summary |
MovieProducer(java.lang.String theFilename)
|
MovieProducer(java.lang.String theFilename,
boolean thePreloadFlag)
|
MovieProducer(java.lang.String theFilename,
boolean thePreloadFlag,
java.lang.Class theBitmapClass)
|
MovieProducer(java.lang.String theFilename,
boolean thePreloadFlag,
int theUpdateFPS)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MovieProducer
public MovieProducer(java.lang.String theFilename)
MovieProducer
public MovieProducer(java.lang.String theFilename,
boolean thePreloadFlag)
MovieProducer
public MovieProducer(java.lang.String theFilename,
boolean thePreloadFlag,
java.lang.Class theBitmapClass)
MovieProducer
public MovieProducer(java.lang.String theFilename,
boolean thePreloadFlag,
int theUpdateFPS)
play
public void play(float theSpeed)
update
public void update()
stop
public void stop()
setLooping
public void setLooping(boolean looping)
isFinished
public boolean isFinished()
getDuration
public float getDuration()
goToStart
public void goToStart()
frame
public void frame(int frame)
- Parameters:
frame - int- To do:
- this might not work.
nextFrame
public void nextFrame()
- To do:
- this might not work.
previousFrame
public void previousFrame()
- To do:
- this might not work.
getCurrentTime
public float getCurrentTime()
destroyAll
public static void destroyAll()
getData
public byte[] getData()
getBitmap
public Bitmap getBitmap()
jumpToNextFrame
public float jumpToNextFrame(int theDirection)
destroy
public void destroy()
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009