Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RafTimer

Hierarchy

  • RafTimer

Index

Constructors

constructor

  • new RafTimer(rafLoop: Function): RafTimer

Properties

progress

progress: number

Methods

dispose

  • dispose(): void

onComplete

  • onComplete(callback: Function): void

pause

  • pause(): void

play

  • play(): void

reset

  • reset(): void

setDuration

  • setDuration(duration: number): void

setFps

  • setFps(fps: number): void