gestalt.applet
Class JoglFPSAnimator
java.lang.Object
gestalt.applet.JoglFPSAnimator
public class JoglFPSAnimator
- extends java.lang.Object
An Animator subclass which attempts to achieve a target frames-per-second
rate to avoid using all CPU time. The target FPS is only an estimate and is
not guaranteed.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoglFPSAnimator
public JoglFPSAnimator(GLAutoDrawable theDrawable,
JoglAppletRenderer theRenderContext,
int theFPS)
start
public void start()
- Starts this FPSAnimator.
stop
public void stop()
framerate
public void framerate(int theFPS)
getFramerate
public int getFramerate()
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009