Contents

hapticSharpness

The feel of a haptic event.

Declaration

static let hapticSharpness: CHHapticEvent.ParameterID

Discussion

Specify a pattern’s sharpness by setting this value from 0.0 to 1.0. Haptic patterns with low sharpness have a round and organic feel, whereas haptic patterns with high sharpness feel more crisp and precise. The diagram below depicts sharpness of haptic events as a single line to indicate the sensation of persistent feedback against the user’s hand:

[Image]

To change the sharpness dynamically, use hapticSharpnessControl.

See Also

Haptic Event Parameter IDs