The FrequencyScale
field in the HapticPattern
class represents a scaling factor applied to the frequency values of the haptic pattern. This field is used to adjust the intensity or strength of the frequency component of the haptic feedback.
The FrequencyScale
field in the HapticPattern
class represents a scaling factor applied to the frequency values of the haptic pattern. This field is used to adjust the intensity or strength of the frequency component of the haptic feedback.
To use the FrequencyScale
field, you can directly access it from an instance of the HapticPattern
class. Modify this field to scale the frequency values of the haptic pattern as needed.
// Example of using FrequencyScale in a HapticPattern HapticPattern pattern = new HapticPattern(); // Set the frequency scale to 1.5 to increase the frequency intensity pattern.FrequencyScale = 1.5f; // Use the pattern in your application // This will apply the frequency scaling to the haptic feedback // pattern.Apply(); // Hypothetical method to apply the pattern