Click or drag to resize

TransitionType_Acceleration Class

Manages transitions under constant acceleration from a standing start.
Inheritance Hierarchy
SystemObject
  TransitionsTransitionType_Acceleration

Namespace:  Transitions
Assembly:  Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.7.0.280
Syntax
C#
public class TransitionType_Acceleration : ITransitionType

The TransitionType_Acceleration type exposes the following members.

Constructors
  NameDescription
Public methodTransitionType_Acceleration
Constructor. You pass in the time that the transition will take (in milliseconds).
Top
Methods
  NameDescription
Public methodonTimer
Works out the percentage completed given the time passed in. This uses the formula: s = ut + 1/2at^2 The initial velocity is 0, and the acceleration to get to 1.0 at t=1.0 is 2, so the formula just becomes: s = t^2
Top
See Also