TransitionType_EaseInEaseOut Class Methods
For a list of all members of this type, see TransitionType_EaseInEaseOut members.
Public Methods
Name | Description | |
---|---|---|
onTimer | Works out the percentage completed given the time passed in. This uses the formula: s = ut + 1/2at^2 We accelerate as at the rate needed (a=4) to get to 0.5 at t=0.5, and then decelerate at the same rate to end up at 1.0 at t=1.0. |
See Also