HapticEvent
A single moment in a custom haptic pattern played through
IHaptics.Play.Intensity and sharpness range from 0 to 1 and are clamped. Intensity controls how strong the sensation feels, sharpness how crisp against dull.
- Kind: Struct
- Namespace: SkeleKit
Methods
Continuous
Creates a sustained vibration spanning the given duration.
| Parameter | Summary |
|---|---|
double time | Seconds from the start of the pattern. |
double duration | How long the vibration lasts, in seconds. |
(optional) double intensity | Strength of the sensation, from 0 to 1. |
(optional) double sharpness | Crispness of the sensation, from 0 to 1. |
Returns
HapticEvent: The event.
Tap
Creates a brief, punctuated tap at the given time in the pattern.
| Parameter | Summary |
|---|---|
double time | Seconds from the start of the pattern. |
(optional) double intensity | Strength of the sensation, from 0 to 1. |
(optional) double sharpness | Crispness of the sensation, from 0 to 1. |
Returns
HapticEvent: The event.