Description
The Rumble
property of the HapticPattern
class provides a predefined haptic pattern that simulates a constant low-frequency rumble. This pattern can be used to create a continuous vibration effect, often used to simulate engine vibrations or environmental effects in games.
Usage
To use the Rumble
pattern, you can access it directly from the HapticPattern
class since it is a static property. This pattern can be applied to devices capable of haptic feedback to create a rumbling sensation.
Example
// Example of using the Rumble haptic pattern
HapticPattern rumblePattern = HapticPattern.Rumble;
// Assuming you have a method to apply a haptic pattern to a device
ApplyHapticPatternToDevice(rumblePattern);