DualShock4ExtensionSetVibration(DualShock4MotorType, Single, Single, Boolean) Method |
Sets vibration level on an individual motor.
Namespace: Rewired.ControllerExtensionsAssembly: Rewired_Core (in Rewired_Core.dll) Version: 1.0.0+e8257758c3446d922301bab0e4637a0e5ec1862f
Syntaxpublic void SetVibration(
DualShock4MotorType motor,
float motorLevel,
float duration,
bool stopOtherMotors
)
Parameters
- motor DualShock4MotorType
- Motor type
- motorLevel Single
- Motor level [float: 0.0 - 1.0]
- duration Single
- Length of time in seconds to activate the motor before it stops. [0 = Infinite]
- stopOtherMotors Boolean
- Stop other motors?
See Also