TweenData#game

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

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#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#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#interpolationContext

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

TweenData#interpolationFunction

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

TweenData#isFrom

isFrom : boolean Is this a from tween or a to tween? Source code: tween/TweenData.js (Line 153)

TweenData#isRunning

isRunning : boolean If the tween is running this is set to true. Unless Phaser.Tween a TweenData that is waiting for a delay to expire is not considered as running. Source code: tween/TweenData.js (Line 147)

TweenData#parent

parent : Phaser.Tween The Tween which owns this TweenData. Source code: tween/TweenData.js (Line 21)

TweenData#percent

[readonly] percent : number A value between 0 and 1 that represents how far through the duration this tween is. Source code: tween/TweenData.js (Line 62)