Description
The HardImpact
property of the HapticPattern
class provides a predefined haptic pattern that simulates a hard, sudden impact. This pattern can be used to create a tactile feedback effect that feels like a sharp, forceful hit, which can be useful in various interactive applications such as games or simulations where such feedback is desired.
Usage
To use the HardImpact
haptic pattern, you can access it directly from the HapticPattern
class since it is a static property. This pattern can then be applied to devices capable of haptic feedback to simulate the sensation of a hard impact.
Example
// Example of using the HardImpact haptic pattern
HapticPattern hardImpactPattern = HapticPattern.HardImpact;
// Assuming you have a method to apply a haptic pattern to a device
ApplyHapticPatternToDevice(hardImpactPattern);