Class cc.ActionTween.ctor
- Defined in: CCActionTween.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
cc.ActionTween.ctor(duration, key, from, to)
Creates an initializes the action with the property name (key), and the from and to parameters.
|
Class Detail
cc.ActionTween.ctor(duration, key, from, to)
Creates an initializes the action with the property name (key), and the from and to parameters.
- Parameters:
- {Number} duration
- {String} key
- {Number} from
- {Number} to