ControllerSetVibration Method |
Set the vibration speed of the left and right side of the game controller.
The values can vary between 0 and 1 with 0 meaning no vibration and 1 meaning maximum vibration.
Namespace:
Demo3D.Input
Assembly:
Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntaxpublic void SetVibration(
float leftSpeed,
float rightSpeed
)
Parameters
- leftSpeed
- Type: SystemSingle
Vibration speed of left side of game controller (0-1). - rightSpeed
- Type: SystemSingle
Vibration speed of right side of game controller (0-1).
See Also