Method SendHapticImpulse
SendHapticImpulse(float, float)
Play a haptic impulse on the controller if one is available.
Declaration
public bool SendHapticImpulse(float amplitude, float duration)
Parameters
| Type | Name | Description |
|---|---|---|
| float | amplitude | Amplitude (from 0.0 to 1.0) to play impulse at. |
| float | duration | Duration (in seconds) to play haptic impulse. |
Returns
| Type | Description |
|---|---|
| bool |