The HapticPattern class in the Sandbox namespace represents a haptic pattern, which consists of frequency and amplitude values that can change over time. This class provides methods and properties to manipulate and retrieve haptic feedback patterns.
The HapticPattern class in the Sandbox namespace represents a haptic pattern, which consists of frequency and amplitude values that can change over time. This class provides methods and properties to manipulate and retrieve haptic feedback patterns.
Member Name | Summary |
---|---|
SoftImpact | A haptic pattern that represents a light, soft impact. |
HardImpact | A haptic pattern that represents a hard, sudden impact. |
Rumble | A haptic pattern that represents a constant low-frequency rumble. |
Heartbeat | A haptic pattern that feels like a heartbeat. |
Member Name | Summary |
---|---|
Length | Gets or sets the length of the haptic pattern. |
FrequencyCurve | Gets or sets the frequency curve of the haptic pattern. |
AmplitudeCurve | Gets or sets the amplitude curve of the haptic pattern. |
Position | Gets or sets the current position in the haptic pattern. |
LengthScale | Scales the length of the haptic pattern. |
FrequencyScale | Scales the frequency of the haptic pattern. |
AmplitudeScale | Scales the amplitude of the haptic pattern. |
GetValue | Retrieves the frequency and amplitude values at a specific time. |
Deconstruct | Deconstructs the haptic pattern into its components. |