viewingInertia Object literal

Parameters for viewing operations with inertia (i.e. they continue briefly if used with a throwing action)


Name Default Value Description
damping 0.9 How quickly the inertia decays. The smaller the damping value the faster the inertia decays. Must be less than 1.0
duration BeDuration.fromMilliseconds(450) Maximum duration of the inertia operation. Important when frame rates are low.
enabled true Flag to enable inertia.

Defined in

Last Updated: 10 September, 2019