Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TimeoutAnimation

Timeout animation. Call callback after duration.

Hierarchy

Index

Constructors

constructor

Properties

alpha

alpha: number

callback

callback: Function

controls

controls: ViewerControls

duration

duration: number

elapsedDuration

elapsedDuration: number = 0

ignoreGlobalToggle

ignoreGlobalToggle: boolean = false

pausedDuration

pausedDuration: number = 0

pausedTime

pausedTime: number = -1

startTime

startTime: number

Accessors

done

  • get done(): boolean

paused

  • get paused(): boolean

Methods

_init

  • _init(callback: Function): void

_tick

  • _tick(): void

pause

  • pause(hold?: undefined | true | false): void

resume

  • resume(releaseHold?: undefined | true | false): void

then

  • then(callback: Function): Promise<any>

tick

  • tick(stats: Stats): undefined | true | false

toggle

  • toggle(): void

Generated using TypeDoc