A curve that you send to a haptic pattern player to alter a property value gradually during playback.
- iOS 13.0+
- Mac Catalyst 13.0+
- Core Haptics
Parameter curves serve the same purpose as dynamic parameters in that they alter a property value during playback. Unlike dynamic parameters, which change a property value instantaneously, parameter curves interpolate linearly between parameter values to ensure a smooth transition.
For example, a parameter curve for haptic intensity modulates the intensity over time, ensuring a smooth transition between the current intensity and the upcoming one. Parameter curves apply to all events in a pattern; it isn't possible to apply one to only a single event.