CF_HapticRamp¶
Category: haptic
GitHub: cute_haptics.h
Adjusts the strength from start
to end
over duration_milliseconds
.
Struct Members | Description |
---|---|
int duration_milliseconds |
The delay between attack and fade in the envelope (see CF_HapticEnvelope for more details). |
float start |
Strength value. Must be from 0.0f to 1.0f. |
float end |
Strength value. Must be from 0.0f to 1.0f. |
CF_HapticEnvelope envelope |
The envelope for the haptic. See CF_HapticEnvelope for details. |
Related Pages¶
CF_Haptic
CF_HapticType
cf_haptic_open
cf_haptic_close
CF_HapticEffect
cf_haptic_create_effect