Click or drag to resize

Telogis.GeoBase.Transitions.Transition

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Transition Class

A class for wrapping together all the different factors involved in performing a transition. Once constructed, it can be passed to a Transitions.TimeLine for execution.

Constructor
NameDescription
Transition(duration, tickCallback, modifier)

Arguments

  • duration (Number) - The time, in milliseconds, that the transition should take.

  • tickCallback (Function) - A function to call each time the transition is updated.

  • modifier (Function) - A modifier function to use, such as Transitions.log or Transitions.sine.

Functions
NameDescription
tick (Number t)

Called for each frame in the animation cycle.

Arguments
  • t (Number) - A value between 0 and 1 (inclusive) that provides time based indication of how far through the animation it is.