TransitionType_EaseInEaseOut Class Members
The following tables list the members exposed by TransitionType_EaseInEaseOut.
Public Constructors
Name | Description | |
---|---|---|
TransitionType_EaseInEaseOut Constructor | Constructor. You pass in the time that the transition will take (in milliseconds). |
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