class
HapticPattern
public class HapticPattern Contains a haptic pattern, which consists of frequency and amplitude values that can change over time.
Constructors
Properties
| Name | Type | Description |
|---|---|---|
Length | Single | |
FrequencyCurve | Curve | |
AmplitudeCurve | Curve | |
Position | Int32 | |
SoftImpact static | HapticPattern | A haptic pattern that represents a light, soft impact. |
HardImpact static | HapticPattern | A haptic pattern that represents a hard, sudden impact. |
Rumble static | HapticPattern | A haptic pattern that represents a constant low-frequency rumble. |
Heartbeat static | HapticPattern | A haptic pattern that feels like a heartbeat. |
Methods
Void GetValue(Single t, Single frequency, Single amplitude) virtual HapticPattern <Clone>$() Fields
| Name | Type | Description |
|---|---|---|
LengthScale | Single | |
FrequencyScale | Single | |
AmplitudeScale | Single |