Contents

CHHapticEventParameter

A static parameter value that represents a single property of the haptic pattern.

Declaration

class CHHapticEventParameter

Overview

Event parameters specify values for haptics associated with the event. For example, an intensity event parameter determines how intense the haptic feels when it fires. Event parameters are static; they don’t change over the course of the pattern. To change a parameter value after a haptic has started playing, use a CHHapticDynamicParameter to make an immediate change, or a CHHapticParameterCurve to transition smoothly.

[Image]

When you send a dynamic parameter to the haptic pattern, its value changes immediately, at the specified time. When you send a parameter curve instead, the value changes gradually according to the type of curve you specified.

Topics

Creating an Event Parameter

Specifying an Event Parameter’s Value

See Also

Programmatic haptics