Setter for the Amplitude property.The amplitude scale controls the vibration intensity during playback.During playback, the individual amplitudes in the clip will be multiplied by the player's amplitude. This changes how strong the vibration is. Amplitude values in a clip range from 0.0 to 1.0, and the result after applying the amplitude scale will be clipped to that range.An amplitude of 0.0 means that no vibration will be triggered, and an amplitude of 0.5 will result in the clip being played back at half of its amplitude.Example: if you apply amplitude of 5.0 to a haptic clip and the following amplitudes are in the clip: [0.2, 0.5, 0.1], the initial amplitude calculation would produce these values: [1.0, 2.5, 0.5] which will then be clamped like this: [1.0, 1.0, 0.5]The property can be changed during active playback, in which case the amplitude is applied immediately, with a small delay in the tens of milliseconds.
ParametersInAmplitudeThe amplitude to set, has to be higher or equal to zero.