IInertiaOptions
Type interface
Represents collection of options for Sprite inertia.
Sources
IInertiaOptions is an interface: it describes a shape of data and is not imported on its own.
Properties
durationType
numberHow long should inertia animation play out.
easingType (value:
number) =>numberEasing function to be used for inertia animation.
factorType
numberHow far should object go by inertia counting from its reference point in trail and its release point. I.e. if there are 100 pixels between reference point and drop point, then it will go another
100 x inertiaFactorpixels by inertia.timeType
numberWhen calculating inertia direction and speed, we look back at the log of coordinates. This setting holds number of milliseconds to check back to.