Свойство | Type | Description | |
---|---|---|---|
active | System.Boolean | ||
complete | CompletionDelegate |
Свойство | Type | Description | |
---|---|---|---|
_ease | EaserDelegate | ||
_t | float | ||
_target | uint | ||
_time | float |
Méthode | Description | |
---|---|---|
Tween ( uint duration, uint type, CompletionDelegate onCompletion = null, EaserDelegate ease = null ) : System |
Constructor. Specify basic information about the Tween.
|
|
start ( ) : void |
Starts the Tween, or restarts it if it's currently running.
|
|
update ( ) : void |
Updates the Tween, called by World.
|
Méthode | Description | |
---|---|---|
finish ( ) : void |
Called when the Tween completes.
|
public Tween ( uint duration, uint type, CompletionDelegate onCompletion = null, EaserDelegate ease = null ) : System | ||
duration | uint | Duration of the tween (in seconds or frames). |
type | uint | Tween type, one of Tween.PERSIST (default), Tween.LOOPING, or Tween.ONESHOT. |
onCompletion | CompletionDelegate | Optional callback for when the Tween completes. |
ease | EaserDelegate | Optional easer function to apply to the Tweened value. |
Résultat | System |