HapticPattern SoftImpact { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The SoftImpact property of the HapticPattern class provides a predefined haptic pattern that simulates a light, soft impact. This static property can be used to create subtle feedback in applications, such as simulating a gentle tap or a soft collision.

Usage

To use the SoftImpact 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 provide a soft impact sensation.

Example

// Example of using the SoftImpact haptic pattern
HapticPattern pattern = HapticPattern.SoftImpact;

// Assuming a method to apply the haptic pattern exists
ApplyHapticPattern(pattern);