Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Tween

Index

Constructors

constructor

  • new Tween(object: any): Tween

Properties

_chainedTweens

_chainedTweens: any[] = []

_delayTime

_delayTime: number = 0

_duration

_duration: number = 1000

_easingFunction

_easingFunction: None = Easing.Linear.None

_interpolationFunction

_interpolationFunction: Linear = Interpolation.Linear

_isPlaying

_isPlaying: boolean = false

_object

_object: any

_onCompleteCallback

_onCompleteCallback: any = null

_onRepeatCallback

_onRepeatCallback: any = null

_onStartCallback

_onStartCallback: any = null

_onStartCallbackFired

_onStartCallbackFired: boolean = false

_onStopCallback

_onStopCallback: any = null

_onUpdateCallback

_onUpdateCallback: any = null

_repeat

_repeat: number = 0

_reversed

_reversed: boolean = false

_startTime

_startTime: number = NaN

_valuesEnd

_valuesEnd: {}

Type declaration

_valuesStart

_valuesStart: {}

Type declaration

_valuesStartRepeat

_valuesStartRepeat: {}

Type declaration

_yoyo

_yoyo: boolean = false

Methods

chain

  • chain(...tweens: any[]): this

delay

  • delay(amount: any): this

easing

  • easing(easing: any): this

interpolation

  • interpolation(interpolation: any): this

onComplete

  • onComplete(callback: any): this

onRepeat

  • onRepeat(callback: any): this

onStart

  • onStart(callback: any): this

onStop

  • onStop(callback: any): this

onUpdate

  • onUpdate(callback: any): this

repeat

  • repeat(times: any): this

start

  • start(time?: number): this

stop

  • stop(): this

stopChainedTweens

  • stopChainedTweens(): void

to

  • to(properties: any, duration: any): this

update

  • update(time: any): boolean

yoyo

  • yoyo(yoyo: any): this

Legend

  • Namespace
  • Object literal
  • Variable
  • Function
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Enumeration
  • Interface

Generated using TypeDoc