Click or drag to resize

IControllerVibrator.SetVibration Method (Int32, Single, Boolean)

Sets vibration level for a motor at a specified index.

Namespace:  Rewired.Interfaces
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
void SetVibration(
	int motorIndex,
	float motorLevel,
	bool stopOtherMotors
)

Parameters

motorIndex
Type: System.Int32
Motor index
motorLevel
Type: System.Single
Motor level [float: 0.0 - 1.0]
stopOtherMotors
Type: System.Boolean
Stop other motors?
See Also