[Inherits FeedbackEffect]
The HapticsEffect element represents a custom haptic feedback effect. More...
|
This element is part of the QtMobility.feedback 1.1 module.
This class closely corresponds to the C++ QFeedbackHapticsEffect class.
HapticsEffect { id: rumbleEffect attackIntensity: 0.0 attackTime: 250 intensity: 1.0 duration: 100 fadeTime: 250 fadeIntensity: 0.0 running: myBoat.keelDepth < 0; // play a rumble when we crash the boat }
See also Actuator and QFeedbackHapticsEffect.
The intensity of the attack (fade-in) part of the haptics effect, from 0.0 to 1.0.
The period of the haptics effect. If the period is zero, the effect will not repeat. If it is non-zero, the effect will repeat every period milliseconds.