Class FPSAnimator

  • All Implemented Interfaces:
    FPSCounter, GLAnimatorControl

    public class FPSAnimator
    extends AnimatorBase
    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.

    The Animator execution thread does not run as a daemon thread, so it is able to keep an application from terminating.
    Call stop() to terminate the animation and it's execution thread.