TweenData#interpolationFunction

interpolationFunction : Function The interpolation function used for the Tween. Default Value Phaser.Math.linearInterpolation Source code: tween/TweenData.js (Line 135)

TweenData#interpolationContext

interpolationContext : Object The interpolation function context used for the Tween. Default Value Phaser.Math Source code: tween/TweenData.js (Line 141)

TweenData#interpolate

interpolate : boolean True if the Tween will use interpolation (i.e. is an Array to Array tween) Source code: tween/TweenData.js (Line 90)

TweenData#inReverse

inReverse : boolean When a Tween is yoyoing this value holds if it's currently playing forwards (false) or in reverse (true). Source code: tween/TweenData.js (Line 107)

TweenData#generateData()

generateData(frameRate) → {array} This will generate an array populated with the tweened object values from start to end.It works by running the tween simulation at the given frame rate based on the values set-up in Tween.to and Tween.from.Just one play through of the tween data is returned, including yoyo if set. Parameters Name Type Argument Default Description frameRate number <optional> 60 The speed in frames per second that the data should be generated at. The higher the valu

TweenData#game

game : Phaser.Game A reference to the currently running Game. Source code: tween/TweenData.js (Line 26)

TweenData#from()

from(properties, duration, ease, delay, repeat, yoyo) → {Phaser.TweenData} Sets this tween to be a from tween on the properties given. A from tween sets the target to the destination value and tweens to its current value.For example a Sprite with an x coordinate of 100 tweened from x 500 would be set to x 500 and then tweened to x 100 by giving a properties object of { x: 500 }. Parameters Name Type Argument Default Description properties object The properties you want to tween, such a

TweenData#easingFunction

easingFunction : Function The easing function used for the Tween. Default Value Phaser.Easing.Default Source code: tween/TweenData.js (Line 129)

TweenData#duration

duration : number The duration of the tween in ms. Default Value 1000 Source code: tween/TweenData.js (Line 56)

TweenData#dt

dt : number Current time value. Source code: tween/TweenData.js (Line 118)