![]() |
|
Base class for tweening More...
Public Member Functions | |
| void | Begin (T to, int frameCount, int tweenCount=1, TweenStyle tweenStyle=TweenStyle.Liner) |
| void | Begin (T fromValue, T toValue, int frameCount, int tweenCount=1, TweenStyle tweenStyle=TweenStyle.Liner) |
| virtual void | Update () |
Protected Member Functions | |
| TweenBase () | |
| abstract T | GetTweenValue (float percent) |
Static Protected Member Functions | |
| static void | Swap (ref T value1, ref T value2) |
Protected Attributes | |
| TweenStyle | tweenStyle |
| float | frameCount |
| int | tweenCount |
| int | tweenCountLimit |
| float | duration |
| T | from |
| T | to |
Properties | |
| bool | IsPlayTween [get, protected set] |
| T | CurrentValue [get, protected set] |
Base class for tweening
| T |
|
protected |
| void Yukar.Engine.TweenBase< T >.Begin | ( | T | fromValue, |
| T | toValue, | ||
| int | frameCount, | ||
| int | tweenCount = 1, |
||
| TweenStyle | tweenStyle = TweenStyle.Liner |
||
| ) |
| void Yukar.Engine.TweenBase< T >.Begin | ( | T | to, |
| int | frameCount, | ||
| int | tweenCount = 1, |
||
| TweenStyle | tweenStyle = TweenStyle.Liner |
||
| ) |
|
protectedpure virtual |
Implemented in Yukar.Engine.TweenFloat, Yukar.Engine.TweenVector2, and Yukar.Engine.TweenColor.
|
staticprotected |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
getprotected set |
|
getprotected set |