Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Transition

Hierarchy

Index

Constructors

Methods

Constructors

constructor

Methods

Static blend

  • blend(_imgOld: ImageData, _imgNew: ImageData, _duration?: number, _transition: Uint8ClampedArray, _factor?: number): Promise<void>
  • Called by update to blend from the old display of a scene to the new. Don't call directly.

    Parameters

    • _imgOld: ImageData
    • _imgNew: ImageData
    • _duration: number = 1000
    • _transition: Uint8ClampedArray
    • _factor: number = 0.5

    Returns Promise<void>

Static get

  • get(_url: RequestInfo): Promise<Uint8ClampedArray>

Generated using TypeDoc