Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimerService

Provides timer service

Hierarchy

  • TimerService

Index

Properties

Private frameNumbers

frameNumbers: unknown = new WeakMap<Function, number>()

Private navigationStartDate

navigationStartDate: any

Methods

Private getNextFrameNumber

  • getNextFrameNumber(callback: Function): any
  • Parameters

    • callback: Function

    Returns any

requestFrame

  • requestFrame(callback: function): void
  • Request that the callback function be called for the next frame.

    Parameters

    • callback: function

      function

        • (time: JulianDate, frameNumber: number): void
        • Parameters

          • time: JulianDate
          • frameNumber: number

          Returns void

    Returns void

Generated using TypeDoc