struct CHWRMHaptics::THWRMHapticsMagSweepEffect |
Defines the paramaters used in a magsweep effect.
Used by PlayMagSweepEffect() , ModifyPlayingMagSweepEffect() , GetMagSweepEffectDefinition() .
Public Attributes | |
---|---|
TInt | iAttackLevel |
TInt | iAttackTime |
TInt | iDuration |
TInt | iFadeLevel |
TInt | iFadeTime |
TInt | iMagnitude |
TInt | iStyle |
TInt | iAttackLevel |
Attack level of the effect.
The attack level is clamped to a value from KHWRMHapticsMinMagnitude to KHWRMHapticsMaxMagnitude.
TInt | iAttackTime |
Attack time of the effect. Unit is milliseconds.
The attack time is clamped to a value from 0 to the value returned by GetDeviceCapability() for the EHWRMHapticsMaxEnvelopeTime capability type.
TInt | iDuration |
Duration of the effect. Unit is milliseconds.
To specify an infinite duration, the effect duration should be set to a value returned by InfiniteDuration() . For a finite duration, the effect duration is clamped to a value from 0 to the value returned by GetDeviceCapability() for the EHWRMHapticsMaxEffectDuration capability type.
TInt | iFadeLevel |
Fade level of the effect.
The fade level is clamped to a value from KHWRMHapticsMinMagnitude to KHWRMHapticsMaxMagnitude inclusive.
TInt | iFadeTime |
Fade time of the effect. Unit is milliseconds.
The fade time is clamped to a value from 0 to the value returned by GetDeviceCapability() for the EHWRMHapticsMaxEnvelopeTime capability type.
TInt | iMagnitude |
Magnitude of the effect.
The effect magnitude is clamped to a value from KHWRMHapticsMinMagnitude to KHWRMHapticsMaxMagnitude.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.