XboxOneGamepadExtensionSetVibration Method (Int32, Single, Single, Boolean) |
Sets vibration level for a motor at a specified index with a timeout.
Namespace:
Rewired.Platforms.XboxOne
Assembly:
Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void SetVibration(
int motorIndex,
float motorLevel,
float duration,
bool stopOtherMotors
)
Parameters
- motorIndex
- Type: SystemInt32
Motor index - motorLevel
- Type: SystemSingle
Motor level [float: 0.0 - 1.0] - duration
- Type: SystemSingle
Length of time in seconds to activate the motor before it stops. [0 = Infinite] - stopOtherMotors
- Type: SystemBoolean
Stop other motors?
Implements
IControllerVibratorSetVibration(Int32, Single, Single, Boolean)See Also