API reference
API reference
Select your platform
No SDKs available
No versions available

HapticPattern Struct

Defines the parameters for a haptic feedback pattern.

Fields

The strength of the haptic vibration, typically from 0 (none) to 1 (full).
The duration of the haptic vibration in seconds.
The frequency of the haptic vibration.
The interpretation of this value can vary by haptics SDK (e.g., specific Hz, or a normalized 0-1 value).

Constructors & Destructors

Initializes a new instance of the HapticPattern struct.
Parameters
amplitude
Vibration strength (0-1).
duration
Duration in seconds.
frequency
Vibration frequency (0-1, interpretation varies).
Did you find this page helpful?