TweenData

Class: Phaser.TweenData

Constructor

new TweenData(parent)

A Phaser.Tween contains at least one TweenData object. It contains all of the tween data values, such as the
starting and ending values, the ease function, interpolation and duration. The Tween acts as a timeline manager for
TweenData objects and can contain multiple TweenData objects.

Parameters
Name Type Description
parent Phaser.Tween

The Tween that owns this TweenData object.

Source code: 登录查看完整内容