Function processTweens

  • Process all tweens currently managed by Shifty for the current tick. This does not perform any timing or update scheduling; it is the logic that is run by the scheduling functionality. Specifically, it computes the state and calls all of the relevant TweenableConfig functions supplied to each of the tweens for the current point in time (as determined by now).

    This is a low-level API that won't be needed in the majority of situations. It is primarily useful as a hook for higher-level animation systems that are built on top of Shifty. If you need this function, it is likely you need to pass something like () => {} to setScheduleFunction, override now and manage the scheduling logic yourself.

    See

    https://github.com/jeremyckahn/shifty/issues/109

    Returns void

Generated using TypeDoc