Word Game Builder 2.0.1f2
Reference Manual
|
The main tweening class. More...
Public Member Functions | |
Tweener () | |
Creats a new tweener instance. More... | |
void | Dispose () |
Disposes the tweener object. More... | |
void | Start (T tweenTo) |
Start a tween action. More... | |
void | Start (T tweenTo, float duration) |
Start a tween action. More... | |
void | Start (T tweenTo, float duration, float delay, Easing easing) |
Start a tween action. More... | |
void | Stop () |
Stop any currently running tween action. More... | |
Properties | |
T | currentValue [get, set] |
Gets the current value. More... | |
float | delay [get, set] |
Gets or sets the delay before performing the tween action. More... | |
float | duration [get, set] |
Gets or sets the duration of the tween action. More... | |
Easing | easing [get, set] |
Gets or sets the easing of the tween action. More... | |
T | end [get, set] |
Gets or sets the final tween value. More... | |
bool | hasEnded [get] |
Gets a value indicating whether the current tween action has ended. More... | |
bool | hasStarted [get] |
Gets a value indicating whether the current tween action has started. More... | |
bool | isDisposed [get] |
Gets a value indicating whether this tweener has been disposed. More... | |
bool | isEnabled [get] |
Gets a value indicating whether this tweener is enabled. More... | |
System.Action | onTween |
Occurs every frame while an object is tweening. More... | |
T | start [get, set] |
Gets or sets the initial tween value. More... | |
float | startTime [get] |
Gets the start time for the tween action. Returns -1 when stopped. More... | |
The main tweening class.
Provides tween support (with easing) for the following types:
Tween updates are independent of the current time scale.
T | : | struct |
|
inline |
Creats a new tweener instance.
|
inline |
Disposes the tweener object.
|
inline |
Start a tween action.
tweenTo | The value to tween to. |
|
inline |
Start a tween action.
tweenTo | The value to tween to. |
duration | The duration of the tween action. |
|
inline |
Start a tween action.
tweenTo | The value to tween to. |
duration | The duration of the tween action. |
delay | The delay before starting the tween action. |
easing | The easing of the tween action. |
|
inline |
Stop any currently running tween action.
|
getset |
Gets the current value.
|
getset |
Gets or sets the delay before performing the tween action.
|
getset |
Gets or sets the duration of the tween action.
|
getset |
Gets or sets the easing of the tween action.
|
getset |
Gets or sets the final tween value.
|
get |
Gets a value indicating whether the current tween action has ended.
|
get |
Gets a value indicating whether the current tween action has started.
|
get |
Gets a value indicating whether this tweener has been disposed.
|
get |
Gets a value indicating whether this tweener is enabled.
|
addremove |
Occurs every frame while an object is tweening.
|
getset |
Gets or sets the initial tween value.
|
get |
Gets the start time for the tween action. Returns -1 when stopped.