viewingInertia Object literal

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

Properties

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

Defined in

Last Updated: 13 June, 2024