NintendoSwitchGamepadExtensionSetVibration Method (Int32, Single, Single, Single, Single, Boolean) |
Sets vibration in the controller.
Namespace:
Rewired.ControllerExtensions
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void SetVibration(
int motorIndex,
float amplitudeLow,
float frequencyLow,
float amplitudeHigh,
float frequencyHigh,
bool stopOtherMotors
)
Parameters
- motorIndex
- Type: SystemInt32
The index of the vibration motor - amplitudeLow
- Type: SystemSingle
The low band amplitude (using a unit where the maximum is 1.0f) - frequencyLow
- Type: SystemSingle
The low band frequency (using Hz units) - amplitudeHigh
- Type: SystemSingle
The high band amplitude (using a unit where the maximum is 1.0f - frequencyHigh
- Type: SystemSingle
The high band frequency (using Hz units) - stopOtherMotors
- Type: SystemBoolean
Stop other motors?
See Also