Contents

CHHapticParameterCurve

A curve that you send to a haptic pattern player to alter a property value gradually during playback.

Declaration

class CHHapticParameterCurve

Mentioned in

Overview

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.

[Image]

For example, a parameter curven’tr 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.

Topics

Creating a Curve

Describing the Curve

See Also

Programmatic haptics