Description
The HardImpact
property of the HapticPattern
class provides a predefined haptic pattern that simulates a hard, sudden impact. This static property can be used to create a tactile feedback experience that mimics the sensation of a sharp, forceful contact.
Usage
To use the HardImpact
haptic pattern, simply access it as a static property of the HapticPattern
class. This pattern can be applied to devices capable of haptic feedback to enhance user interaction by providing a realistic impact sensation.
Example
// Example of using the HardImpact haptic pattern
HapticPattern pattern = HapticPattern.HardImpact;
// Assuming a method to apply the haptic pattern exists
ApplyHapticPattern(pattern);