Advanced Combat Tracker Plugin API
TransitionType_Deceleration Class
NamespacesTransitionsTransitionType_Deceleration
Manages a transition starting from a high speed and decelerating to zero by the end of the transition.
Declaration Syntax
C#Visual Basic
public class TransitionType_Deceleration : ITransitionType
Public Class TransitionType_Deceleration
	Implements ITransitionType
Members
All MembersConstructorsMethods



IconMemberDescription
TransitionType_Deceleration(Int32)
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 The initial velocity is 2, and the acceleration to get to 1.0 at t=1.0 is -2, so the formula becomes: s = t(2-t)

Inheritance Hierarchy
Object
TransitionType_Deceleration

Assembly: Advanced Combat Tracker (Module: Advanced Combat Tracker.exe) Version: 3.3.0.254