Class cc.DisplayLinkDirector

Class Summary
Constructor Attributes Constructor Name and Description
 

DisplayLinkDirector is a Director that synchronizes timers with the refresh rate of the display.

Method Summary

Class Detail

cc.DisplayLinkDirector()

DisplayLinkDirector is a Director that synchronizes timers with the refresh rate of the display.
Features and Limitations:
- Scheduled timers & drawing are synchronizes with the refresh rate of the display
- Only supports animation intervals of 1/60 1/30 & 1/15

Method Detail

  • mainLoop()
    main loop of director
  • setAnimationInterval(value)
    set Animation Interval
    Parameters:
    {Number} value
  • startAnimation()
    start Animation
  • stopAnimation()
    stop animation