Manages an ease-in-ease-out transition. This accelerates during the first half of the transition, and then decelerates during the second half.
public class TransitionType_EaseInEaseOut : ITransitionType
Public Class TransitionType_EaseInEaseOut Implements ITransitionType
Constructor. You pass in the time that the transition will take (in milliseconds).
|onTimer(Int32, Double%, Boolean%)|
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.
Assembly: Advanced Combat Tracker (Module: Advanced Combat Tracker.exe) Version: 18.104.22.168