HapticEffect Rumble { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Rumble property of the HapticEffect class provides a predefined haptic effect that applies a simple rumble to the controller. This effect is typically used to enhance user experience by providing tactile feedback during gameplay or interactions.

Usage

To use the Rumble effect, you can access it directly from the HapticEffect class since it is a static property. You can then apply this effect to a controller to simulate a rumble sensation.

Example

// Example of using the Rumble haptic effect
HapticEffect rumbleEffect = HapticEffect.Rumble;

// Assuming you have a method to apply the effect to a controller
ApplyHapticEffectToController(rumbleEffect);