Optional
afterOptional
afterOptional
beforeThis is called when a tween is created to determine if a filter is needed. Filters are only added to a tween when it is created so that they are not unnecessarily processed if they don't apply during a subsequent update tick.
Optional
tweenThis is called when a tween is created. This should perform any setup needed by subsequent per-tick calls to beforeTween and afterTween.
Generated using TypeDoc
An object that contains functions that are called at key points in a tween's lifecycle. Shifty can only process
Number
s internally, but filters can expand support for any type of data. This is the mechanism that powers String Interpolation.