Class SchedulerInternal

Manages animation frames, per-frame task execution, and rendering of registered Viewers.

Properties

viewers: { [key: string]: Viewer }

Registered Viewer instances, keyed by their IDs.

Methods

  • Schedules a task to be executed on an upcoming animation frame.

    Parameters

    • callback: Function

      Function to execute.

    • scope: any

      Optional scope to call the function in.

    Returns void