scalar property

Scalar scalar
final

A Scalar provides an opportunity to modify horizontal and vertical accelerometer sensor data independently before they translate to Foil gradient "twinkling" transformation (offset/translation).

Scale up the motion factor by providing Scalar.horizontal or Scalar.vertical a value greater than 1.0, or scale down the influence by providing 0 <= scalar <= 1.0.

accelerometer axis scaling

Implementation

final Scalar scalar;